Hash function
val string : string -> t
string s
is the hash of s
.
val fd : Unix.file_descr -> t
fd fd
mmap(2)
s and hashes the object pointed by fd
.
- raises Sys_error
if
mmap
fails.
val file : Fpath.t -> (t, string) Stdlib.result
file f
is the hash of file f
.