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

Method detect_presence

atomic-agent/src/hooks/agy.rs:353–355  ·  view source on GitHub ↗
(&self, repo_root: &Path)

Source from the content-addressed store, hash-verified

351 }
352
353 fn detect_presence(&self, repo_root: &Path) -> bool {
354 repo_root.join(AGENTS_DIR).is_dir()
355 }
356
357 fn hook_verbs(&self) -> Vec<&str> {
358 vec!["pre-invocation", "stop", "post-tool-use"]

Callers

nothing calls this directly

Calls 1

is_dirMethod · 0.80

Tested by

no test coverage detected