Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFlags ¶
func DefaultFlags() []string
func OverlayTreeSyncFlags ¶
func OverlayTreeSyncFlags() []string
OverlayTreeSyncFlags provides the rsync flags that are used to sync directories or raw images during the overlay tree extraction. It does not keep permissions on pre-existing files or directories and it does not keep ownership of files and directories.
Types ¶
type Rsync ¶
type Rsync struct {
// contains filtered or unexported fields
}
func (Rsync) MirrorData ¶
func (r Rsync) MirrorData(source string, target string, excludes []string, deleteExcludes []string) error
MirrorData rsync's source folder contents to a target folder content, in contrast, to SyncData this method adds the --delete flag which forces the deletion of files in target that are missing in source.
Click to show internal directories.
Click to hide internal directories.