Documentation ¶
Overview ¶
Package ext2 implements read-only access to EXT2 file systems.
Index ¶
- type Dir
- type FS
- type File
- func (f *File) IsDir() bool
- func (f *File) Lookup(name string) (*File, error)
- func (f *File) ModTime() time.Time
- func (f *File) Mode() os.FileMode
- func (f *File) Open() (io.Reader, error)
- func (f *File) ReadAt(buf []byte, off int64) (n int, err error)
- func (f *File) ReadDir() ([]Dir, error)
- func (f *File) ReadLink() (string, error)
- func (f *File) Size() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
An FS represents a file system.
func Open ¶
Open opens the file system in the named file.
If the name contains an @ sign, it is taken to be of the form file@offset, where offset is a decimal, hexadecimal, or octal number according to its prefix, and the file system is assumed to start at the given offset in the file instead of at the beginning of the file.
type File ¶
type File struct {
// contains filtered or unexported fields
}
A File represents a file or directory in a file system.
func (*File) Lookup ¶
Lookup looks up the name in the directory f, returning the corresponding child file.
Click to show internal directories.
Click to hide internal directories.