Function git2_hooks::create_hook
source · pub fn create_hook(r: &Repository, hook: &str, hook_script: &[u8]) -> PathBuf
Expand description
helper method to create git hooks programmatically (heavy used in unittests)
pub fn create_hook(r: &Repository, hook: &str, hook_script: &[u8]) -> PathBuf
helper method to create git hooks programmatically (heavy used in unittests)