[models] return chunk/manifest bytes written

This commit is contained in:
derrod 2020-05-12 03:59:21 +02:00
parent 2945c6c91f
commit b0f5ea15a3
2 changed files with 4 additions and 0 deletions

View file

@ -147,3 +147,5 @@ class Chunk:
if not fp:
return bio.getvalue()
else:
return bio.tell()

View file

@ -168,6 +168,8 @@ class Manifest:
if not fp:
return bio.getvalue()
else:
return bio.tell()
class ManifestMeta: