Documentation ¶
Index ¶
- func NewFs(writer io.Writer) afero.Fs
- type File
- func (f *File) Close() error
- func (f *File) Name() string
- func (f *File) Read([]byte) (n int, err error)
- func (f *File) ReadAt(p []byte, off int64) (n int, err error)
- func (f *File) Readdir(count int) ([]fs.FileInfo, error)
- func (f *File) Readdirnames(n int) ([]string, error)
- func (f *File) Seek(offset int64, whence int) (int64, error)
- func (f *File) Stat() (fs.FileInfo, error)
- func (f *File) Sync() error
- func (f *File) Truncate(size int64) error
- func (f *File) Write(p []byte) (n int, err error)
- func (f *File) WriteAt(p []byte, off int64) (n int, err error)
- func (f *File) WriteString(s string) (ret int, err error)
- type FileInfo
- type Fs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) Readdirnames ¶
Readdirnames implements afero.File.
func (*File) Write ¶
Write implements afero.File. Subtle: this method shadows the method (Writer).Write of writerFile.Writer.
Click to show internal directories.
Click to hide internal directories.