package copy
import "github.com/docker/cli/components/engine/daemon/graphdriver/copy"
Index ¶
Functions ¶
func DirCopy ¶
DirCopy copies or hardlinks the contents of one directory to another, properly handling xattrs, and soft links
Copying xattrs can be opted out of by passing false for copyXattrs.
Types ¶
type Mode ¶
type Mode int
Mode indicates whether to use hardlink or copy content
const ( // Content creates a new file, and copies the content of the file Content Mode = iota // Hardlink creates a new hardlink to the existing file Hardlink )
Source Files ¶
- Version
- v17.12.0-ce+incompatible
- Published
- Dec 27, 2017
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 2 hours ago –
Tools for package owners.