Function get_git_hooks_path

Source
pub fn get_git_hooks_path() -> PathBuf
Expand description

§get_git_hooks_path

Get the path to the Git hooks directory.

§Panics

  • If the git command fails to execute

§Returns

  • PathBuf - Path to the Git hooks directory