Skip to main content

build_hook_context

Function build_hook_context 

Source
pub fn build_hook_context(
    branch: &str,
    base_branch: &str,
    worktree_path: &Path,
    repo_path: &Path,
    event: &str,
    operation: &str,
) -> HashMap<String, String>
Expand description

Build a hook context HashMap with standard fields.