pub fn cache_dir(repo_root: &Path) -> Option<PathBuf>
Resolve cache directory: ~/.cache/sr/hooks/<repo-id>/
~/.cache/sr/hooks/<repo-id>/