Documentation
¶
Index ¶
- Variables
- func Abs(path string) (string, error)
- func Chdir(dir string) error
- func Chmod(name string, mode os.FileMode) error
- func Chown(name string, uid, gid int) error
- func Create(name string) (*os.File, error)
- func EvalSymlinks(path string) (string, error)
- func Fake(path string)
- func Glob(pattern string) (matches []string, err error)
- func Lstat(name string) (os.FileInfo, error)
- func Mkdir(name string, perm os.FileMode) error
- func MkdirAll(path string, perm os.FileMode) error
- func Open(name string) (*os.File, error)
- func OpenFile(name string, flag int, perm os.FileMode) (*os.File, error)
- func OsPath(path string) string
- func ReadDir(name string) ([]os.DirEntry, error)
- func ReadFile(name string) ([]byte, error)
- func Readlink(name string) (string, error)
- func Remove(name string) error
- func RemoveAll(path string) error
- func Rename(oldpath, newpath string) error
- func Reset()
- func Stat(name string) (os.FileInfo, error)
- func Symlink(oldname, newname string) error
- func Walk(root string, fn filepath.WalkFunc) error
- func WalkDir(root string, fn fs.WalkDirFunc) error
- func WriteFile(name string, data []byte, perm os.FileMode) error
- type FS
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AppFs = newFS("/")
)
Functions ¶
func EvalSymlinks ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.