swh.storage.algos.discovery module#
- class swh.storage.algos.discovery.DiscoveryStorageConnection(contents: List[Content], skipped_contents: List[SkippedContent], directories: List[Directory], swh_storage: StorageInterface)[source]#
Bases:
ArchiveDiscoveryInterface
Use the storage APIs to query the archive
- content_missing(contents: List[bytes]) Iterable[bytes] [source]#
List content missing from the archive by sha1