package swhid_core
-
swhid_core
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Module to work with the hash component of a swhid.
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 hash, otherwise it is Error e
. A hash is valid if it's made of 40 hexadecimal characters.
val pp : Format.formatter -> t -> unit
pp fmt v
prints v
on formatter fmt
.
val to_string : t -> string
to_string v
is the representation of v
as a string.