Skip to main content

inputs_fingerprint

Function inputs_fingerprint 

Source
pub fn inputs_fingerprint(inputs: &[PathBuf]) -> Option<u64>
Expand description

Content fingerprint over a transitive input set, for an in-process cache tier that has to answer the same freshness question BytecodeCache::load answers on disk: has ANY input changed, not just the entry file.

None when an input cannot be read — the source moved, so the cached compile must not be reused.