mirror of
https://github.com/mudler/luet.git
synced 2026-01-04 23:34:02 +00:00
Move archive helpers to artifact
This allow in the future to swap and provide archive/compression methods without hijacking the code. Refers to #33
This commit is contained in:
@@ -62,6 +62,9 @@ type Artifact interface {
|
||||
SetCompileSpec(as CompilationSpec)
|
||||
GetCompileSpec() CompilationSpec
|
||||
WriteYaml(dst string) error
|
||||
Unpack(dst string, keepPerms bool) error
|
||||
Compress(src string) error
|
||||
FileList() ([]string, error)
|
||||
}
|
||||
|
||||
type ArtifactNode struct {
|
||||
|
||||
Reference in New Issue
Block a user