Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/includes/apidoc-header.md
Show All 27 Lines | |||||
graph are content-addressable, i.e., their node identifiers are computed by | graph are content-addressable, i.e., their node identifiers are computed by | ||||
hashing their content and, transitively, that of all nodes reachable from them; | hashing their content and, transitively, that of all nodes reachable from them; | ||||
and no node or edge is ever removed from the graph: the Software Heritage | and no node or edge is ever removed from the graph: the Software Heritage | ||||
archive is an append-only data structure. | archive is an append-only data structure. | ||||
The following types of objects (i.e., graph nodes) can be found in the Software | The following types of objects (i.e., graph nodes) can be found in the Software | ||||
Heritage archive <small>(for more information see | Heritage archive <small>(for more information see | ||||
the | the | ||||
[Software Heritage glossary](https://wiki.softwareheritage.org/index.php?title=Glossary))</small>: | [Software Heritage glossary](https://docs.softwareheritage.org/devel/glossary.html))</small>: | ||||
- **Content**: a specific version of a file stored in the archive, identified | - **Content**: a specific version of a file stored in the archive, identified | ||||
by its cryptographic hashes (currently: SHA1, Git-like "salted" SHA1, | by its cryptographic hashes (currently: SHA1, Git-like "salted" SHA1, | ||||
SHA256). Note that content objects are nameless; their names are | SHA256). Note that content objects are nameless; their names are | ||||
context-dependent and stored as part of directory entries (see below).<br /> | context-dependent and stored as part of directory entries (see below).<br /> | ||||
*Also known as:* "blob" | *Also known as:* "blob" | ||||
- **Directory**: a list of directory entries, where each entry can point to | - **Directory**: a list of directory entries, where each entry can point to | ||||
content objects ("file entries"), revisions ("revision entries"), or | content objects ("file entries"), revisions ("revision entries"), or | ||||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |