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

Method apply_sandbox_update

crates/openshell-server/src/compute/mod.rs:1112–1120  ·  view source on GitHub ↗
(&self, incoming: DriverSandbox)

Source from the content-addressed store, hash-verified

1110 }
1111
1112 async fn apply_sandbox_update(&self, incoming: DriverSandbox) -> Result<(), String> {
1113 let _guard = self.sync_lock.lock().await;
1114 let existing = self
1115 .store
1116 .get(Sandbox::object_type(), &incoming.id)
1117 .await
1118 .map_err(|e| e.to_string())?;
1119 self.apply_sandbox_update_locked(incoming, existing).await
1120 }
1121
1122 async fn apply_sandbox_update_locked(
1123 &self,

Calls 2

getMethod · 0.45

Tested by

no test coverage detected