Documentation ¶
Index ¶
- Variables
- func Chmod(t *testing.T, ifs fsi.Fs, path string, perm os.FileMode)
- func CountFiles(t *testing.T, ifs fsi.Fs, path string, expectedFilesAndDirs int)
- func CreateFile(t *testing.T, fs fsi.Fs, path, content string)
- func CreateSymlink(t *testing.T, ifs fsi.Fs, oldpath, newpath string)
- func Exists(ifs fsi.Fs, path string) (bool, error)
- func FileMustContainText(t *testing.T, fs fsi.Fs, path, content string)
- func IterateDirTree(f fsi.Fs, path string, visitor func(subdir string) error) (err error)
- func LExists(fs fsi.Fs, path string) (bool, error)
- func ListFiles(ifs fsi.Fs, dir string) ([]string, error)
- func Mkdir(t *testing.T, fs fsi.Fs, path string, perm os.FileMode) error
- func MkdirAll(t *testing.T, fs fsi.Fs, path string, perm os.FileMode)
- func ModeMustBeEqual(t *testing.T, a, b os.FileMode)
- func MustExist(t *testing.T, fs fsi.Fs, path string)
- func MustLExist(t *testing.T, fs fsi.Fs, path string)
- func MustNotExist(t *testing.T, fs fsi.Fs, path string)
- func MustNotLExist(t *testing.T, fs fsi.Fs, path string)
- func OpenFile(t *testing.T, fs fsi.Fs, path, content string, perm os.FileMode)
- func RemoveAll(t *testing.T, fs fsi.Fs, path string)
- func RemoveFile(t *testing.T, fs fsi.Fs, path string)
- func SymlinkMustExist(t *testing.T, ifs fsi.Fs, symlinkPath string)
- func SymlinkMustExistWithTragetPath(t *testing.T, ifs fsi.Fs, symlinkPath, expectedPointsTo string)
- func Walk(fs fsi.Fs, root string, walkFn filepath.WalkFunc) error
Constants ¶
This section is empty.
Variables ¶
View Source
var MaskChmod = os.ModePerm | os.ModeSetuid | os.ModeSetgid | os.ModeSticky
reference: os package
Functions ¶
func IterateDirTree ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.