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

Function pending_sandbox_matches

crates/openshell-driver-docker/src/lib.rs:1590–1593  ·  view source on GitHub ↗
(sandbox: &DriverSandbox, sandbox_id: &str, sandbox_name: &str)

Source from the content-addressed store, hash-verified

1588}
1589
1590fn pending_sandbox_matches(sandbox: &DriverSandbox, sandbox_id: &str, sandbox_name: &str) -> bool {
1591 (!sandbox_id.is_empty() && sandbox.id == sandbox_id)
1592 || (!sandbox_name.is_empty() && sandbox.name == sandbox_name)
1593}
1594
1595fn provisioning_condition() -> DriverCondition {
1596 DriverCondition {

Callers 2

pending_snapshotMethod · 0.85

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected