Documentation ¶
Overview ¶
Package systemfs provides an io/fs implementation that uses the osfs as default, while a ntfs for every partition as a fallback on Windows, on UNIX the behavior is the same as osfs.
Index ¶
- func New() (fs.FS, error)
- func NewWithSize(pageSize int64, cacheSize int) (fs.FS, error)
- type FS
- type Item
- type Root
- func (*Root) Close() error
- func (*Root) IsDir() bool
- func (*Root) ModTime() time.Time
- func (*Root) Mode() fs.FileMode
- func (*Root) Name() (name string)
- func (r *Root) Read([]byte) (int, error)
- func (r *Root) ReadDir(n int) (entries []fs.DirEntry, err error)
- func (*Root) Size() int64
- func (r *Root) Stat() (fs.FileInfo, error)
- func (*Root) Sys() interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
FS implements a read-only file system for all operating systems.
type Root ¶
type Root struct {
// contains filtered or unexported fields
}
Root is a pseudo root directory for windows partitions.
Click to show internal directories.
Click to hide internal directories.