Use fingerprint as ids in inmemorydb

This commit is contained in:
Ettore Di Giacinto
2019-12-03 23:38:25 +01:00
parent 097f2ec827
commit 595c10f357
3 changed files with 19 additions and 64 deletions

View File

@@ -23,7 +23,7 @@ type PackageDatabase interface {
Get(s string) (string, error)
Set(k, v string) error
Create([]byte) (string, error)
Create(string, []byte) (string, error)
Retrieve(ID string) ([]byte, error)
}