Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FS = NewFilesystem()
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Stat(name string) (os.FileInfo, error) Rename(oldPath, newPath string) error MkdirAll(path string) error MkTmpdir() (string, error) CopyFile(src, dst string) (int64, error) CopyDir(srcPath, dstPath string) error RemoveAll(path ...string) error GetFilesSize(paths []string) (int64, error) }
func NewFilesystem ¶
func NewFilesystem() Interface
Click to show internal directories.
Click to hide internal directories.