BloBService: implementation of GetBlob (singular)
The `iter_blob_chunks` now does duplicate the `stream.split_batches()` that was introduced actually later, but is interesting on its own: - it could have better performance profile - it returns the `is_first` boolean, that allows not to repeat oid and size, which callers of `stream.split_batches()` IIRC also need in a different case. Closes #44
parent
43fd8469
No related branches found
No related tags found
Showing
- hgitaly/service/blob.py 53 additions, 3 deletionshgitaly/service/blob.py
- hgitaly/service/tests/test_blob.py 54 additions, 12 deletionshgitaly/service/tests/test_blob.py
- hgitaly/stream.py 11 additions, 0 deletionshgitaly/stream.py
- tests_with_gitaly/test_blob_tree.py 67 additions, 0 deletionstests_with_gitaly/test_blob_tree.py
Loading
Please register or sign in to comment