An Interface for Content-Based Identifiers


[Up] [Top]

Documentation for package ‘contentid’ version 0.0.8

Help Pages

content_dir content store home directory
content_id Generate a content uri for a local file
history_swh return the history of archive events of a given software repository
pin Access the latest content at a URL
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_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