Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcatDirectoryContents ¶ added in v0.1.9
ConcatDirectoryContents concatenates all regular files inside the source directory and returns their concatenated contents.
Types ¶
type Copier ¶
type Copier interface {
CopyFile(source, target string, uid, gid int) error
CopyDir(source, target string, uid, gid int) error
}
Copier provides helper functions that copy files and directories to specified locations.
func NewCopier ¶
NewCopier initializes a new copier object. Files from provided blacklist will be ignored.
func NewInternalCopier ¶
func NewInternalCopier() Copier
NewInternalCopier initializes a new copier object. It is used for copying checkpointed files from sandbox dir, and there is no need to blacklist any path, since they would have been filtered out by checkpoint.
Click to show internal directories.
Click to hide internal directories.