pathshash#
Functions
-
int pathshash(unsigned char *hash, int hashsize, const FUPaths *paths, const char *pattern)#
Calculate sha3 hash of all files in
paths
and stores it inhash
.hashsize
is the size ofhash
in bytes. Should be 32, 48 or 64.If
pattern
is given, it should be a glob pattern for selecting what files to include.Returns non-zero on error.