Page MenuHomeSoftware Heritage

Add support for slices in Storage.content_get
Closed, MigratedEdits Locked

Description

Currently Storage.content_get only supports returning the full blob. We should add new parameters (eg. start and end) to specify the range of bytes the caller wants, and pass them to the objstorage.

Note that both swh/storage/storage.py and swh/storage/in_memory.py should be modified.