Commit 07775b5
committed
Add renaming sorts of SoftWare Heritage persistent IDentifiers
See
https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html
for the technical details of that spec.
These remaining four sorts of objects coincide with `git-raw`, which is
already in this table. However, adding them here is not redundant,
because the deserialization direction. While a git-raw CID may legally
point to any sort of git object, the relevant SWHIDs specify in the
identifier what sort of git object is expected, and if it points to a
different type of valid git object, deserialization fails. That means
there is no way to losslessly convert a git-coinciding SWHID into a
git-raw CID.1 parent 4011cb2 commit 07775b5
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
0 commit comments