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