Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ detect_presence
Method
detect_presence
atomic-agent/src/hooks/pi.rs:531–534 ·
view source on GitHub ↗
(&self, repo_root: &Path)
Source
from the content-addressed store, hash-verified
529
}
530
531
fn detect_presence(&self, repo_root: &Path) -> bool {
532
// Pi is present if the .pi directory exists
533
repo_root.join(PI_DIR).is_dir()
534
}
535
536
fn hook_verbs(&self) -> Vec<&str> {
537
vec![
Callers
nothing calls this directly
Calls
1
is_dir
Method · 0.80
Tested by
no test coverage detected