Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ sandbox_should_persist
Function
sandbox_should_persist
crates/openshell-cli/src/run.rs:1599–1601 ·
view source on GitHub ↗
(keep: bool, forward: Option<&ForwardSpec>)
Source
from the content-addressed store, hash-verified
1597
}
1598
1599
fn sandbox_should_persist(keep: bool, forward: Option<&ForwardSpec>) -> bool {
1600
keep || forward.is_some()
1601
}
1602
1603
fn build_sandbox_resource_limits(
1604
cpu: Option<&str>,
Callers
1
sandbox_create
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected