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

Method plugin_present

atomic-agent/src/hooks/agy.rs:195–199  ·  view source on GitHub ↗

Whether the integration's plugin is staged in agy's config.

()

Source from the content-addressed store, hash-verified

193
194 /// Whether the integration's plugin is staged in agy's config.
195 fn plugin_present() -> bool {
196 Self::global_config_dir()
197 .map(|dir| Self::hooks_path(&dir).exists())
198 .unwrap_or(false)
199 }
200
201 /// Parse the common base fields and build a TurnEvent with the session
202 /// ID and transcript path populated.

Callers

nothing calls this directly

Calls 2

global_config_dirFunction · 0.85
existsMethod · 0.45

Tested by

no test coverage detected