Documentation ¶ Overview ¶ Package dup provides tools for recursively copying files. Index ¶ func Copy(dest string, src fs.FS) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Copy ¶ func Copy(dest string, src fs.FS) error Copy copies the entire filesystem described by src to the local filesystem at the a path rooted at the string dest. Dest does not need to exist in advance. File permissions are not preserved by the copy. Types ¶ This section is empty. Source Files ¶ View all Source files dup.go Click to show internal directories. Click to hide internal directories.