Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperatingSystem ¶
type OperatingSystem interface {
Getenv(key string) string
Stat(name string) (os.FileInfo, error)
Getwd() (string, error)
OpenFile(name string, flag int, perm os.FileMode) (*os.File, error)
Remove(name string) error
IsNotExist(err error) bool
MkdirAll(path string, perm os.FileMode) error
Rename(oldPath, newPath string) error
}
func New ¶
func New() OperatingSystem
Click to show internal directories.
Click to hide internal directories.