Add piece hashing to verbs generated image storages
This commit is contained in:
parent
011538f9f4
commit
476ac8cec9
3 changed files with 23 additions and 5 deletions
|
@ -80,3 +80,6 @@ class PieceHasher(object):
|
|||
@property
|
||||
def hash_fragment(self):
|
||||
return self._hash_fragment
|
||||
|
||||
def final_piece_hashes(self):
|
||||
return self._piece_hashes + self._hash_fragment.digest()
|
||||
|
|
Reference in a new issue