Skip to main content

fingerprint_inputs

Function fingerprint_inputs 

Source
pub fn fingerprint_inputs(inputs: &[(&str, &str)]) -> String
Expand description

Compose a fingerprint over a set of (relative_path, content) inputs. The hashes are fed through a final digest so file additions/removals and ordering changes are reflected. inputs earlier in the slice must map to distinct paths; content may be empty for files that were deleted.