Versions in this module Expand all Collapse all v0 v0.9.30 Dec 13, 2021 Changes in this version + func DefaultFileCopy(src, dest string, info os.FileInfo, opt Options, results *Results) (err error) + type FileHandlerFunc func(src, dest string, info os.FileInfo, opt Options, results *Results) (err error) + type Options struct + AddPermission os.FileMode + FileHandler func(src, dest string, info os.FileInfo) FileHandlerFunc + OnSymlink func(src string) SymlinkAction + ShouldCopy func(opt os.FileInfo) bool + Skip func(src string) (bool, error) + Sync bool + func DefaultCopyOptions() Options + type Results struct + DirsCopied int + FilesCopied int + Info bytes.Buffer + SymLinksCreated int + func Copy(src, dest string, opt ...Options) (*Results, error) + func (c *Results) String() string + type SymlinkAction int + const Deep + const Shallow + const Skip