swh.fuse.backends.objstorage module#

class swh.fuse.backends.objstorage.ObjStorageBackend(conf: dict)[source]#

Bases: ContentBackend

This content backend relies on an swh-storage service, and maybe an swh-objstorage directly.

See Configuring files’ download.

shutdown() None[source]#

Called when the FUSE object is destroyed.

async get_blob(swhid: CoreSWHID) bytes[source]#

Fetch the content of a cnt object.