Skip to main content

apply_flags

Function apply_flags 

Source
pub fn apply_flags(
    dir: &Path,
    hooks: &[Digested],
    flags: &[(String, String)],
    by: &str,
) -> Result<(), String>
Expand description

Trusts the hooks flags name, each only for its current digest (via = ci): the non-interactive path.

§Errors

A flag names no hook, or a digest that is not the hook’s current one (the message names the current digest).