Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDir ¶
CopyDir will recursively copy all files from the source path over to the destination path. Both dst and src are expected to be existing directories, and then all content of one directory is copied into the other.
Only files and directories are copied. Any sockets, devices, symlinks, or other file types are silently ignored.
func CopyDirIgnorer ¶
CopyDirIgnorer will recursively copy all files from the source path over to the destination path. Both dst and src are expected to be existing directories, and then all content of one directory is copied into the other.
The passed ignorer is used to conditionally omit files or directory trees from the copy operation.
Only files and directories are copied. Any sockets, devices, symlinks, or other file types are silently ignored.