Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailedToCopyFile = errors.New("failed to copy file")
View Source
var ErrFailedToCreateRepository = errors.New("failed to create repository")
View Source
var ErrFailedToGetRepository = errors.New("failed to get repository")
View Source
var ErrFailedToGetTreeID = errors.New("failed to get empty tree id")
View Source
var ErrFailedToOpen = errors.New("failed to open Bockerfile")
View Source
var ErrFailedToParse = errors.New("failed to parse Bockerfile")
View Source
var ErrFailedToParseInstruction = errors.New("failed to parse Bockerfile instruction")
View Source
var ErrUnsupportedCommand = errors.New("command not supported")
Functions ¶
func CopyDir ¶
CopyDir recursively copies a directory tree, attempting to preserve permissions. Source directory must exist, destination directory must *not* exist. Symlinks are ignored and skipped.
func CopyFile ¶
CopyFile copies the contents of the file named src to the file named by dst. The file will be created if it does not already exist. If the destination file exists, all it's contents will be replaced by the contents of the source file. The file mode will be copied from the source and the copied data is synced/flushed to stable storage.
Types ¶
Click to show internal directories.
Click to hide internal directories.