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

Function codex_plugin_dir_has_only_managed_files

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

Source from the content-addressed store, hash-verified

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 {
1016 return false;
1017 };
1018 let managed = codex_plugin_managed_paths(install_dir);
1019 entries.iter().all(|entry| managed.contains(entry))
1020}
1021
1022fn codex_plugin_managed_paths(install_dir: &Path) -> Vec<PathBuf> {
1023 let mut paths: Vec<PathBuf> = codex_embedded_plugin_files()

Callers 1

Calls 3

collect_regular_filesFunction · 0.85
containsMethod · 0.45

Tested by

no test coverage detected