package swhid_core
Module Object.KindSource
Module to work with the different kinds of software artifacts a swhid can points to. They're documented here.
The type of the different kinds of software artifacts.
compare x y returns 0 if x is equal to y, a negative integer if x is less than y, and a positive integer if x is greater than y.
of_string s is Ok v if s is a valid kind of object, otherwise it is Error e. The valid kinds are "cnt", "dir", "rel", "rev" and "snp".
pp fmt v prints v on formatter fmt.