An Interface for Content-Based Identifiers


[Up] [Top]

Documentation for package ‘contentid’ version 0.0.18

Help Pages

content_dir content store home directory
content_id Generate a content uri for a local file
default_lmdb default location for LMDB registry
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
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
query_history List all content identifiers that have been seen at a given URL
query_sources List all known URL sources for a given Content URI
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, 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
swh_ratelimit software heritage rate limit