Documentation
¶
Overview ¶
Package file provides utility functionality for working with files and directories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Copy ¶
Copy copies srcPath to dstPath. It internally uses io.Copy. The destination file is created with the same file mode as the source file. Returns any error that occurred prior to or during the copy operation.
func IsDirectory ¶
IsDirectory returns true if path is a directory. Returns an error as the second return value if calling stat on path failed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.