Skip to main content

hook_trusted

Function hook_trusted 

Source
pub fn hook_trusted(trust: &Path, hooks: &Path) -> bool
Expand description

Whether a runner that gates hooks on trust has trusted the hooks in hooks: its trust file records a trusted_hash, and was written after the hooks file last changed (a changed hook loses its trust).