Use well defined structure for serializing, fixups to make test green

This commit is contained in:
Ettore Di Giacinto
2019-11-23 15:42:05 +01:00
parent a879411c54
commit e9c01b46a7
7 changed files with 57 additions and 14 deletions

View File

@@ -41,6 +41,7 @@ type Repository interface {
GetPriority() int
GetIndex() compiler.ArtifactIndex
GetTree() tree.Builder
SetTree(tree.Builder)
Write(path string) error
Sync() (Repository, error)
GetTreePath() string