Calculate hash of file using repository filtering rules.
If you simply want to calculate the hash of a file on disk with no filters,
you can use the global hashFile function. However, if you want to
hash a file in the repository and you want to apply filtering rules (e.g.
crlf filters) before generating the SHA, then use this function.
Calculate hash of file using repository filtering rules.
If you simply want to calculate the hash of a file on disk with no filters, you can use the global hashFile function. However, if you want to hash a file in the repository and you want to apply filtering rules (e.g. crlf filters) before generating the SHA, then use this function.