val hash : t -> int
val compare : t -> t -> Ordering.t
val to_string : t -> string
val from_hex : string -> t option
val string : string -> t
val to_string_raw : t -> string
val generic : 'a -> t
val file_with_stats : Path.t -> Unix.stats -> t
Digest a file and its stats. Does something sensible for directories