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

Method resolve_sandbox_uid

crates/openshell-driver-vm/src/driver.rs:268–270  ·  view source on GitHub ↗

Resolve the sandbox UID, falling back to `DEFAULT_SANDBOX_UID`.

(&self)

Source from the content-addressed store, hash-verified

266impl VmDriverConfig {
267 /// Resolve the sandbox UID, falling back to `DEFAULT_SANDBOX_UID`.
268 pub fn resolve_sandbox_uid(&self) -> u32 {
269 self.sandbox_uid.unwrap_or(DEFAULT_SANDBOX_UID)
270 }
271
272 /// Resolve the sandbox GID, falling back to the resolved UID.
273 pub fn resolve_sandbox_gid(&self, resolved_uid: u32) -> u32 {

Calls

no outgoing calls

Tested by

no test coverage detected