Path to the global Atomic hooks file (`~/.grok/hooks/atomic.json`).
()
| 110 | |
| 111 | /// Path to the global Atomic hooks file (`~/.grok/hooks/atomic.json`). |
| 112 | fn global_hooks_path() -> Option<PathBuf> { |
| 113 | dirs::home_dir().map(|h| h.join(GROK_DIR).join("hooks").join(ATOMIC_HOOKS_FILE)) |
| 114 | } |
| 115 | |
| 116 | /// Whether the `atomic-grok` package has installed hooks globally. |
| 117 | fn is_hooks_installed() -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected