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

Method detect_presence

atomic-agent/src/hooks/copilot.rs:430–433  ·  view source on GitHub ↗
(&self, repo_root: &Path)

Source from the content-addressed store, hash-verified

428 }
429
430 fn detect_presence(&self, repo_root: &Path) -> bool {
431 // Copilot works in any GitHub repo — detect via .github/ directory
432 repo_root.join(GITHUB_DIR).is_dir()
433 }
434
435 fn hook_verbs(&self) -> Vec<&str> {
436 vec![

Callers

nothing calls this directly

Calls 1

is_dirMethod · 0.80

Tested by

no test coverage detected