Skip to main content

hooks_dir

Function hooks_dir 

Source
pub fn hooks_dir(repo_root: &Path) -> PathBuf
Expand description

Find the hooks directory for a repository.

Priority:

  1. core.hooksPath from .suture/config (if set)
  2. .suture/hooks/ (default)