All functions

content_dir()

content store home directory

content_id()

Generate a content uri for a local file

default_registries()

default registries

has_resource()

has_resource

history_swh()

return the history of archive events of a given software repository

history_url()

List all content identifiers that have been seen at a given URL

pin()

Access the latest content at a URL (DEPRECATED)

purge_cache()

Purge older files from the local cache.

query()

query a Content URI or a URL with remote and/or local registries

register()

register a URL with remote and/or local registries

resolve()

Resolve content from a content identifier

retrieve()

Retrieve files from the local cache

retrieve_swh()

retrieve content from Software Heritage given a content identifier

sources()

List all known URL sources for a given Content URI

sources_swh()

List software heritage sources for a content identifier

store()

Store files in a local cache

store_swh()

Add content to the Software Heritage Archival Store