Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDir ¶
CopyDir recursively copies all files and directories in the from directory into the to directory. If the to directory does not exist, it is created. If the to directory already exists, its contents are overwritten.
func CopyFile ¶
CopyFile copies src to dst. If the target file already exists, it is overwritten. If the copy fails, the target file may be left in an inconsistent state.
func EscapeFilename ¶
EscapeFilename replaces bad characters in a filename with safe equivalents. The only character disallowed on Unix systems is the path separator "/". Windows is more restrictive; banned characters on Windows are listed here: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
Types ¶
This section is empty.