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

Function cursor_plugin_dir_is_tracedecay

src/agents/cursor.rs:400–406  ·  view source on GitHub ↗
(install_dir: &Path)

Source from the content-addressed store, hash-verified

398}
399
400fn cursor_plugin_dir_is_tracedecay(install_dir: &Path) -> bool {
401 let manifest = load_json_file(&install_dir.join(".cursor-plugin/plugin.json"));
402 matches!(
403 manifest.get("name").and_then(|v| v.as_str()),
404 Some("tracedecay")
405 )
406}
407
408fn cursor_plugin_dir_has_only_managed_files(install_dir: &Path) -> bool {
409 let Ok(entries) = super::collect_regular_files(install_dir) else {

Callers 1

Calls 1

load_json_fileFunction · 0.85

Tested by

no test coverage detected