pub(crate) fn read_fingerprinted(path: &Path) -> Result<(Vec<u8>, Fingerprint)>Expand description
Read the regular file at path and fingerprint it in one pass. The
stat is taken before the read, so a write that lands between the two
shows up as a changed stat on the next ExternalDependency::is_current
and forces a hash comparison.