Documentation
¶
Overview ¶
Package fileutils wraps or implements common file operations with familiar function names.
Index ¶
- func ChmodR(name string, mode os.FileMode) error
- func ChownR(path string, uid, gid int) error
- func Cp(src, dest string) (err error)
- func CpR(source, dest string) (err error)
- func CpWithArgs(source, dest string, args CpArgs) (err error)
- func MkdirP(path string, perm os.FileMode) error
- func Mv(oldname, newname string) error
- func Rm(name string) error
- func RmRF(path string) error
- func Which(file string) (string, error)
- type CpArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CpWithArgs ¶
CpWithArgs is a version of the Cp method that allows the passing of an arguments struct to further modify the copying behavior
Types ¶
Click to show internal directories.
Click to hide internal directories.