Add accessors to Hash and Verify artifacts

Refers to #28
This commit is contained in:
Ettore Di Giacinto
2019-12-29 13:56:52 +01:00
parent 17982e9527
commit eeb6719529
2 changed files with 30 additions and 5 deletions

View File

@@ -65,6 +65,8 @@ type Artifact interface {
Unpack(dst string, keepPerms bool) error
Compress(src string) error
FileList() ([]string, error)
Hash() error
Verify() error
}
type ArtifactNode struct {