Skip to main content

hooks_dir_for

Function hooks_dir_for 

Source
pub fn hooks_dir_for(
    env: &HashMap<String, String>,
    process: impl Fn(&str) -> Option<String>,
) -> Option<PathBuf>
Expand description

The hooks directory for a spawn whose own env is env (falling back to process for anything it doesn’t set), if gh-agent has written it.