Rename CopyDirectory to CopyDir

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan 2017-02-03 12:08:53 -08:00
parent d96e6e3952
commit aaf18b5962
4 changed files with 6 additions and 6 deletions

View file

@ -17,9 +17,9 @@ var (
}
)
// CopyDirectory copies the directory from src to dst.
// CopyDir copies the directory from src to dst.
// Most efficient copy of files is attempted.
func CopyDirectory(dst, src string) error {
func CopyDir(dst, src string) error {
inodes := map[uint64]string{}
return copyDirectory(dst, src, inodes)
}