Add boltdb implementation for packageset and db

This commit is contained in:
Ettore Di Giacinto
2019-10-28 17:12:29 +01:00
committed by Ettore Di Giacinto
parent da8734ed6a
commit c3197d70fc
10 changed files with 248 additions and 33 deletions

View File

@@ -21,8 +21,7 @@ import (
// reads a luet tree and generates the package lists
type Builder interface {
Scan(string) error // compiles a tree
Load(string) error // pre-scanned tree
Generate() (pkg.PackageSet, error) // generates world
Save(string) error // A tree might be saved to a folder structure (human editable)
Load(string) error // A tree might be loaded from a db (e.g. bolt) and written to folder
Tree() pkg.Tree // generates world
}