swift/test/unit
Clay Gerrard 52ecbf9539 Add a chunks_finished to BaseDiskFileWriter
BaseDiskFileWriter will track md5 and expose upload_size, etag via the
chunks_finished method.

The BaseDiskFileReader already tracks the md5/etag via _iter_etag, for
parity we add a _chunks_etag to the BaseDiskFileReader.

Instead of returning the upload_size and hexdigest every call to write,
we return the tuple from chunks_finished.

Change-Id: I26c58719cff5fde941d0248c250a0204e0379ae5
2018-09-13 12:28:57 -05:00
..
account Add fallocate_reserve to account and container servers. 2018-07-18 17:27:11 +10:00
cli swift-ring-builder shows hint about composite builder file 2018-07-05 15:57:05 +01:00
common Merge "s3api: Include '-' in multipart ETags" 2018-09-13 11:30:32 +00:00
container Add fallocate_reserve to account and container servers. 2018-07-18 17:27:11 +10:00
obj Add a chunks_finished to BaseDiskFileWriter 2018-09-13 12:28:57 -05:00
proxy Add a chunks_finished to BaseDiskFileWriter 2018-09-13 12:28:57 -05:00
test_locale monkeypatch thread for keystoneclient 2015-11-03 16:36:19 +01:00
__init__.py swift-ring-builder shows hint about composite builder file 2018-07-05 15:57:05 +01:00
helpers.py py3: port common/ring/ and common/utils.py 2018-02-12 06:42:24 +00:00