(install_dir: &Path)
| 398 | } |
| 399 | |
| 400 | fn 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 | |
| 408 | fn cursor_plugin_dir_has_only_managed_files(install_dir: &Path) -> bool { |
| 409 | let Ok(entries) = super::collect_regular_files(install_dir) else { |
no test coverage detected