Skip to main content

trust

Function trust 

Source
pub fn trust(
    root: &Path,
    state: &Path,
    name: Option<&str>,
    via: &str,
    confirm: &mut dyn FnMut(&HookEntry) -> bool,
) -> CommandResult
Expand description

speccoder hooks trust [<name>]: each named hook (every one not trusted, without a name) that confirm agrees to, after it saw the entry. A newly trusted observer hears what happens from now on.