installer: Add support for cached repository

This commit is contained in:
Daniele Rondina
2020-01-12 23:31:43 +01:00
parent aeea0cc5fe
commit c9b684523f
5 changed files with 104 additions and 36 deletions

View File

@@ -48,7 +48,7 @@ type Repository interface {
GetTree() tree.Builder
SetTree(tree.Builder)
Write(path string, resetRevision bool) error
Sync() (Repository, error)
Sync(bool) (Repository, error)
GetTreePath() string
SetTreePath(string)
GetType() string