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

Method detect_presence

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

Source from the content-addressed store, hash-verified

334 }
335
336 fn detect_presence(&self, repo_root: &Path) -> bool {
337 repo_root.join(CODEX_DIR).is_dir()
338 || Self::global_hooks_path().is_some_and(|path| path.exists())
339 }
340
341 fn hook_verbs(&self) -> Vec<&str> {
342 vec![

Callers

nothing calls this directly

Calls 2

is_dirMethod · 0.80
existsMethod · 0.45

Tested by

no test coverage detected