swhid is an OCaml library to work with persistent identifiers found in Software Heritage, also known as swhid.
Swhid.Compute This module provides various functions to compute the swhid of a given object. Supported objects are content, directory, release, revision and snapshot. The origins and visits objects are not supported. To learn more about the different object types and identifiers see the software heritage documentation.Swhid.Download Swhid.Lang Swhid.Parse Swhid.Pp You shouldn't have to use any of these modules, they're used internally only.