Documentation
¶
Index ¶
- func Abs(filePath string) string
- func AbsEx(baseRoot, filePath string) string
- func DCopy(srcdir, destdir string, info os.FileInfo) error
- func FCopy(src, dest string, info os.FileInfo) error
- func IsDirExists(path string) (bool, error)
- func IsFileExists(path string) (bool, error)
- func IsPathExists(path string) (bool, error)
- func LCopy(src, dest string, _ os.FileInfo) error
- func LookPath(file string) (string, error)
- func MustDirExists(path string) error
- func MustDirOfFileExists(file string) error
- func RemoveAll(path string) error
- func UseWorkDir(workDir string, cb func()) (err error)
- func XCopy(src, dest string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DCopy ¶
DCopy is for a directory, with scanning contents inside the directory and pass everything to "copy" recursively.
func FCopy ¶
FCopy is for just a file, with considering existence of parent directory and file permission.
func LookPath ¶
LookPath searches for an executable named file in the directories named by the PATH environment variable. can change the PATH
func UseWorkDir ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.