Documentation
¶
Index ¶
- func RootLength(p string) int
- func SplitPath(p string) (rootName, rest string)
- type Common
- func (vfs *Common) DirectoryExists(path string) bool
- func (vfs *Common) FileExists(path string) bool
- func (vfs *Common) GetAccessibleEntries(path string) (result vfs.Entries)
- func (vfs *Common) ReadFile(path string) (contents string, ok bool)
- func (vfs *Common) RootAndPath(path string) (fsys fs.FS, rootName string, rest string)
- func (vfs *Common) Stat(path string) vfs.FileInfo
- func (vfs *Common) WalkDir(root string, walkFn fs.WalkDirFunc) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RootLength ¶
Types ¶
type Common ¶
func (*Common) DirectoryExists ¶
func (*Common) FileExists ¶
func (*Common) GetAccessibleEntries ¶
func (*Common) RootAndPath ¶
Click to show internal directories.
Click to hide internal directories.