pub fn apply_publish_guard_in( env: &mut HashMap<String, String>, hooks_dir: &Path, process: impl Fn(&str) -> Option<String>, )
Point core.hooksPath at hooks_dir in env, an overlay on process.
core.hooksPath
hooks_dir
env
process