Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem interface {
Create(path string) (io.WriteCloser, error)
Open(path string) (io.ReadCloser, error)
Remove(path string) error
Exists(path string) (bool, error)
MkdirAll(path string) error
GetWorkDir() (string, error)
Walk(root string, walkFn filepath.WalkFunc) error
}
func New ¶
func New() FileSystem
Click to show internal directories.
Click to hide internal directories.