pub fn content_fingerprint(path: &Path) -> Option<String>Expand description
A content fingerprint for the file at path: the lowercase-hex SHA-256 of its
first and last megabyte (or the whole file, if small). None if unreadable.
Two files with the same fingerprint and size are treated as the same weights.