Skip to main content

compute_execution_hash

Function compute_execution_hash 

Source
pub fn compute_execution_hash(hooks: &[Hook], base_dir: &Path) -> String
Expand description

Compute a hash for hook execution that includes input file contents.

This is separate from the approval hash - approval only cares about the hook definition, but execution cache needs to invalidate when input files change.