MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / push_unique

Function push_unique

crates/openshell-sandbox/src/lib.rs:768–772  ·  view source on GitHub ↗
(paths: &mut Vec<String>, path: String)

Source from the content-addressed store, hash-verified

766}
767
768fn push_unique(paths: &mut Vec<String>, path: String) {
769 if !paths.iter().any(|p| p == &path) {
770 paths.push(path);
771 }
772}
773
774fn collect_baseline_enrichment_paths(
775 include_proxy: bool,

Callers 1

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected