Documentation ¶
Index ¶
- Variables
- type File
- func (f *File) Close() error
- func (f *File) Len() int
- func (f *File) Read(p []byte) (int, error)
- func (f *File) ReadAt(p []byte, off int64) (int, error)
- func (f *File) ReadOff(off, length int) ([]byte, error)
- func (f *File) Seek(offset int64, whence int) (int64, error)
- func (f *File) Stat() (os.FileInfo, error)
- func (f *File) Sync() error
- func (f *File) Write(p []byte) (int, error)
- func (f *File) WriteAt(p []byte, off int64) (int, error)
- type Flag
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func OpenFile ¶
OpenFile memory-maps the named file for reading/writing, depending on the flag value.
func (*File) Stat ¶
Stat returns the FileInfo structure describing file. If there is an error, it will be of type *os.PathError.
Click to show internal directories.
Click to hide internal directories.