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

Method new

crates/openshell-server/src/sandbox_index.rs:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22impl SandboxIndex {
23 #[must_use]
24 pub fn new() -> Self {
25 Self::default()
26 }
27
28 pub fn update_from_sandbox(&self, sandbox: &Sandbox) {
29 let mut inner = self.inner.write().expect("sandbox index lock poisoned");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected