MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / is_detected

Method is_detected

src/agents/copilot.rs:153–157  ·  view source on GitHub ↗
(&self, home: &Path)

Source from the content-addressed store, hash-verified

151 }
152
153 fn is_detected(&self, home: &Path) -> bool {
154 super::vscode_data_dir(home).join("User").is_dir()
155 || super::vscode_insiders_data_dir(home).join("User").is_dir()
156 || super::copilot_cli_dir(home).is_dir()
157 }
158
159 fn primary_config_path(&self, home: &Path) -> Option<std::path::PathBuf> {
160 Some(super::vscode_data_dir(home).join("User/settings.json"))

Callers

nothing calls this directly

Calls 3

vscode_data_dirFunction · 0.85
vscode_insiders_data_dirFunction · 0.85
copilot_cli_dirFunction · 0.85

Tested by

no test coverage detected