hashed-storage 0.4.8 → 0.4.9
raw patch · 2 files changed
+3/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Storage/Hashed/Index.hs +2/−3
- hashed-storage.cabal +1/−1
Storage/Hashed/Index.hs view
@@ -271,9 +271,8 @@ inferiors <- if want then subs $ start substate else return [] - let we_changed = or [ changed x | (_, x) <- inferiors ] || nullleaf- nullleaf = null inferiors && oldhash == nullsha- nullsha = SHA256 (BS.replicate 32 0)+ let we_changed = or [ changed x | (_, x) <- inferiors ] || leaf+ leaf = null inferiors tree' = makeTree [ (n, fromJust $ treeitem s) | (n, s) <- inferiors, isJust $ treeitem s ] treehash = we_changed ? (hashtree index tree', oldhash) tree = tree' { treeHash = treehash }
hashed-storage.cabal view
@@ -1,5 +1,5 @@ name: hashed-storage-version: 0.4.8+version: 0.4.9 synopsis: Hashed file storage support code. description: Support code for reading and manipulating hashed file storage