Documentation ¶
Index ¶
- func Check(r io.ReaderAt) (disklayout.ExtType, error)
- type FileSystem
- func (f *FileSystem) Open(name string) (fs.File, error)
- func (f *FileSystem) ReadDir(path string) ([]fs.DirEntry, error)
- func (f *FileSystem) ReadDirInfo(name string) (fs.FileInfo, error)
- func (f *FileSystem) Stat(name string) (fs.FileInfo, error)
- func (f *FileSystem) SuperBlock() disklayout.SuperBlock
- type Statx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
FileSystem is implemented io/fs interface
func NewFS ¶
func NewFS(r io.ReaderAt) (*FileSystem, error)
NewFS is created io/fs.FS for ext4 filesystem
func (*FileSystem) ReadDirInfo ¶
func (f *FileSystem) ReadDirInfo(name string) (fs.FileInfo, error)
func (*FileSystem) SuperBlock ¶
func (f *FileSystem) SuperBlock() disklayout.SuperBlock
Source Files ¶
Click to show internal directories.
Click to hide internal directories.