Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnTarGzip ¶
func UnTarGzip(srcPath, destPath string, overwriteMode OverwriteMode) Err
func Unarchive ¶
func Unarchive(srcPath, destPath string, overwriteMode OverwriteMode) Err
Types ¶
type OverwriteMode ¶
type OverwriteMode int
OverwriteMode:
NoOverwrite // Skip operation if destination exists. Merge // Do not delete anything, only add files that are new. SoftOverwrite // Do not delete destination directory, but overwrite individual files. FullOverwrite // Delete destination and its contents, then copy new files.
const ( // Skip operation if destination exists. NoOverwrite OverwriteMode = iota // Do not delete any files inside destination, only add files that are new to destination. Merge // Do not delete destination directory, but overwrite individual files. // Other files (if any) leave intact. SoftOverwrite // Delete destination and its contents, then copy new files. FullOverwrite )
Click to show internal directories.
Click to hide internal directories.