OpamHashval contents : t -> stringThe value of the hash, as a string of hexadecimal characters
val string_of_kind : kind -> stringval md5 : string -> tval sha256 : string -> tval sha512 : string -> tinclude OpamStd.ABSTRACT with type t := tval of_string : string -> tval to_string : t -> stringval to_json : t -> OpamJson.tval of_json : OpamJson.t -> t optionmodule Set : OpamStd.SET with type elt = tmodule Map : OpamStd.MAP with type key = tval of_string_opt : string -> t optionval to_path : t -> string listreturns a sub-path specific to this hash, e.g. "md5/d4/d41d8cd98f00b204e9800998ecf8427e", as a list
val check_file : string -> t -> boolLike check_file, but returns the actual mismatching hash of the file, or None in case of match