package
Version:
v1.4.12
Opens a new window with list of versions in this module.
Published: Sep 19, 2016
License: GPL-3.0, MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
cp
cp is a small Go package for copying files and directories.
The API may change because I want to add some options in the future (for merging with existing dirs).
It does not currently handle Windows specifically (I think it may require some special treatment).
Documentation
¶
Package cp offers simple file and directory copying for Go.
CopyAll copies the file or (recursively) the directory at src to dst.
Permissions are preserved. dst must not already exist.
CopyFile copies the file with path src to dst. The new file must not exist.
It is created with the same permissions as src.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.