Staging instance, all changes can be removed at any time

Skip to content

Add support for slices in Storage.content_get (T1446)

Changes are to be made in "Storage.content_get" to support the slicing of the data of full blob returned to it. To execute this , two new parameters are added as an argument to the function "content_get()" to specify the rand of bytes that the caller requires and also to pass them to the obstorage. Same changes have been made to both the files "swh/storage/in_memory.py" and "swh/storage/storage.py"


Migrated from D1363 (view on Phabricator)

Merge request reports

Loading