Documentation ¶
Index ¶
- func CompressArchive(archivePath, outPath string) bool
- func DecryptFile(target, out, keyfile string) bool
- func EncryptFile(target, out, keyfile string) bool
- func ExplainInstruction(instr *Instruction)
- func ExtractArchive(file, directory string) bool
- func FetchFile(archive, name string) string
- func GenerateFinalNameSuffix(baseSuffix string, info ContentsInfo) string
- func GenerateNameSuffix(info ContentsInfo) string
- func MergeIntoBaseArchive(baseArchive ArchiveInfo, basedir string, contents []FileInfo, file string, ...) bool
- type ArchiveInfo
- type Configuration
- type ContentsInfo
- type FileInfo
- type Instruction
- type Item
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressArchive ¶
func DecryptFile ¶
func EncryptFile ¶
func ExplainInstruction ¶
func ExplainInstruction(instr *Instruction)
func ExtractArchive ¶
func GenerateFinalNameSuffix ¶
func GenerateFinalNameSuffix(baseSuffix string, info ContentsInfo) string
func GenerateNameSuffix ¶
func GenerateNameSuffix(info ContentsInfo) string
func MergeIntoBaseArchive ¶
func MergeIntoBaseArchive(baseArchive ArchiveInfo, basedir string, contents []FileInfo, file string, definitiveList *ContentsInfo) bool
Types ¶
type ArchiveInfo ¶
func CreateBaseArchive ¶
func CreateBaseArchive(basedir string, contents []FileInfo, file string) *ArchiveInfo
type Configuration ¶
type ContentsInfo ¶
func FilterContents ¶
func FilterContents(existing ContentsInfo, ignore *regexp.Regexp, only *regexp.Regexp) *ContentsInfo
func GetContents ¶
func GetContents(root string, ignoreReg *regexp.Regexp) *ContentsInfo
type Instruction ¶
type Instruction struct { Src string Encrypt bool Configurations []Configuration Ignore []string IgnoreReg *regexp.Regexp S3 *uptypes.S3Config }
func ParseInstruction ¶
func ParseInstruction(path string) *Instruction
Click to show internal directories.
Click to hide internal directories.