Metadb.Hash
This is a wrapper for the standard Digest library.
Digest
type t
Type of hashes
val hash_file : Path.root -> t
Take the MD5 hash of a file
val to_string : t -> string
Returns string representation of hash, in hexadecimal
val of_string : string -> t
Parse hash from hexadecimal string
val equal : t -> t -> bool
Equality of hashes
val compare : t -> t -> int
Wrapper for Digest.compare
Digest.compare