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

Function codex_plugin_dir_is_tracedecay

src/agents/codex.rs:1006–1012  ·  view source on GitHub ↗
(install_dir: &Path)

Source from the content-addressed store, hash-verified

1004}
1005
1006fn codex_plugin_dir_is_tracedecay(install_dir: &Path) -> bool {
1007 let manifest = load_json_file(&install_dir.join(".codex-plugin/plugin.json"));
1008 matches!(
1009 manifest.get("name").and_then(|value| value.as_str()),
1010 Some("tracedecay")
1011 )
1012}
1013
1014fn codex_plugin_dir_has_only_managed_files(install_dir: &Path) -> bool {
1015 let Ok(entries) = super::collect_regular_files(install_dir) else {

Calls 1

load_json_fileFunction · 0.85

Tested by

no test coverage detected