borgbackup / borgstore

experimental storage backend
Other
7 stars 3 forks source link

load: support partial loads #4

Closed ThomasWaldmann closed 3 months ago

ThomasWaldmann commented 3 months ago

Users may want to only read parts of the stored object, e.g. to read some metadata header or to read only one sub-object if there are multiple sub-objects in one stored object.

Params needed:

ThomasWaldmann commented 3 months ago

paramiko's SFTPFile supports .read(size=None) and also .seek(offset, whence=0).