Documentation ¶
Overview ¶
Package file provides helper methods for file operations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFileNoOverwrite ¶
CopyFileNoOverwrite copies the file from pathIn to pathOut, preserving the input file's mode. If the output file already exists, this function returns an error.
func CopyFileOverwrite ¶
CopyFileOverwrite copies the file from pathIn to pathOut. The output file is created if it does not exist. If the output file does exist, it is removed, then written from the input file, preserving the output file's mode.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.