package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: May 7, 2019
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Dir(srcfs, destfs afero.Fs, srcdir, destdir string) error
-
func File(srcfs, destfs afero.Fs, src, dest string) error
-
func HashFile(srcfs, destfs afero.Fs, src, dest string) (int64, []byte, error)
-
func Item(srcfs, destfs afero.Fs, src, dest string) error
Dir is for a directory,
with scanning contents inside the directory
and pass everything to "copy" recursively.
File is for just a file,
with considering existence of parent directory
and file permission.
HashFile is for just a file,
with considering existence of parent directory
and file permission.
Item dispatches copy-funcs according src
Source Files
¶
Click to show internal directories.
Click to hide internal directories.