MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / detect_presence

Method detect_presence

atomic-agent/src/hooks/codex.rs:312–315  ·  view source on GitHub ↗
(&self, repo_root: &Path)

Source from the content-addressed store, hash-verified

310 }
311
312 fn detect_presence(&self, repo_root: &Path) -> bool {
313 repo_root.join(CODEX_DIR).is_dir()
314 || Self::global_hooks_path().is_some_and(|path| path.exists())
315 }
316
317 fn hook_verbs(&self) -> Vec<&str> {
318 vec![

Callers

nothing calls this directly

Calls 2

is_dirMethod · 0.80
existsMethod · 0.45

Tested by

no test coverage detected