(install_dir: &Path)
| 1004 | } |
| 1005 | |
| 1006 | fn 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 | |
| 1014 | fn codex_plugin_dir_has_only_managed_files(install_dir: &Path) -> bool { |
| 1015 | let Ok(entries) = super::collect_regular_files(install_dir) else { |
no test coverage detected