pub fn installed(dir: &Path) -> Option<Vec<Installed>>
The hooks installed in the repository at dir, through git’s own path to its hooks directory, core.hooksPath included; None outside a repository.
dir
core.hooksPath
None