Documentation ¶
Index ¶
- func ChangePermission(filePath string, perm os.FileMode) error
- func Copy(src, dst string) error
- func CopyDirectory(src, dst string) error
- func CopySymLink(source, dest string) error
- func CreateIfNotExists(dir string, perm os.FileMode) error
- func Exists(filePath string) bool
- func ReadFile(path string) ([]byte, error)
- func RemoveFile(path string) error
- func Unzip(src string, dest string) error
- func WriteFile(path string, content []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDirectory ¶
CopyDirectory recursively copies a src directory to a destination.
func CopySymLink ¶
CopySymLink copies src symLink to dst symLink
func CreateIfNotExists ¶
CreateIfNotExists creates dir if not exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.