Skip to content

Commit

Permalink
removed fixity checks for performance reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Apr 20, 2023
1 parent f6d6c2f commit 89b7cdb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions image/app/core/persisting.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func doPersistNodeMap(ctx context.Context, streams map[string]types.Stream, in J
if err != nil {
return
}
} else {
} /*else {
var nm map[string]tree.Node
fileFound := false
written := tree.Node{}
Expand Down Expand Up @@ -216,7 +216,8 @@ func doPersistNodeMap(ctx context.Context, streams map[string]types.Stream, in J
}
if remoteHashVlaue != fmt.Sprintf("%x", newH) {
err = fmt.Errorf("written file hash not equal")
}
return
}*/

if hashValue != remoteHashVlaue {
knownHashes[v.Id] = calculatedHashes{
Expand Down

0 comments on commit 89b7cdb

Please sign in to comment.