switching everything over to []byte, abandoning merkletree for now

This commit is contained in:
2020-07-01 14:33:01 -04:00
parent e4ac7f70e6
commit 07bbb442ef
12 changed files with 215 additions and 82 deletions

View File

@@ -24,7 +24,7 @@ import (
// it might be nice to inform the user when diffs build up
func manageFileDiffing(ctx context.Context, target, diffobject, commitHashPath string, diffChannel chan database.DiffObject, wg *sync.WaitGroup) error {
var targetHash, diffobjectHash [16]byte
var targetHash, diffobjectHash []byte
var err error
if targetHash, err = UniqueFileHash(target); err != nil {
return err