https://github.com/SoftwareHeritage/swh-model
Revision bf4ab4336f7b43d442988c47d3dd70bb82b595c5 authored by Valentin Lorentz on 03 March 2021, 09:44:48 UTC, committed by Valentin Lorentz on 03 March 2021, 09:44:48 UTC
Other packages don't use it anymore.
1 parent 1e924e8
Raw File
Tip revision: bf4ab4336f7b43d442988c47d3dd70bb82b595c5 authored by Valentin Lorentz on 03 March 2021, 09:44:48 UTC
identifiers: Remove the deprecated SWHID class
Tip revision: bf4ab43
README.md
swh-model
=========

Implementation of the Data model of the Software Heritage project, used to
archive source code artifacts.

This module defines the notion of SoftWare Heritage persistent IDentifiers
(SWHIDs) and provides tools to compute them:

```sh
   $ swh-identify fork.c kmod.c sched/deadline.c
   swh:1:cnt:2e391c754ae730bd2d8520c2ab497c403220c6e3    fork.c
   swh:1:cnt:0277d1216f80ae1adeed84a686ed34c9b2931fc2    kmod.c
   swh:1:cnt:57b939c81bce5d06fa587df8915f05affbe22b82    sched/deadline.c

   $ swh-identify --no-filename /usr/src/linux/kernel/
   swh:1:dir:f9f858a48d663b3809c9e2f336412717496202ab
```
back to top