Documentation ¶
Index ¶
- func AbsolutePath(path string) (string, error)
- func CopyFile(src, dst string, mkdir bool) (int64, error)
- func ExpandHomeFolder(path string) (string, error)
- func FileExists(path string) (bool, error)
- func FileNotExists(path string) (bool, error)
- func IsDir(path string) (bool, error)
- func IsDirEmpty(name string) (bool, error)
- func MkdirAll(path string, mode os.FileMode) error
- func PathTransform(path string, funcs ...Transformer) (string, error)
- func PrependHomeFolder(path string) (string, error)
- type Transformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
FileExists is testing if a file exists at a given path.
func FileNotExists ¶
FileNotExists is testing if a file does not exists at a given path.
func IsDirEmpty ¶
IsDirEmpty is a function to check if a directory is empty.
func PathTransform ¶
func PathTransform(path string, funcs ...Transformer) (string, error)
PathTransform ...
Types ¶
Click to show internal directories.
Click to hide internal directories.