Documentation
¶
Index ¶
- type FS
- func (f *FS) Close() error
- func (f *FS) Glob(pattern string) ([]string, error)
- func (f *FS) Lstat(name string) (os.FileInfo, error)
- func (f *FS) Open(name string) (afero.File, error)
- func (f *FS) ReadDir(name string) ([]os.FileInfo, error)
- func (f *FS) ReadFile(name string) ([]byte, error)
- func (f *FS) Readlink(name string) (string, error)
- func (f *FS) Relative(name string) (string, error)
- func (f *FS) Resolve(name string) (string, error)
- func (f *FS) Root() string
- func (f *FS) Sub(name string) (*FS, error)
- func (f *FS) Walk(name string, fn filepath.WalkFunc) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
func From ¶
From borrows an already-rooted filesystem. The root label is used only to interpret absolute input names; all filesystem operations remain relative.
Click to show internal directories.
Click to hide internal directories.