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

Method before_restore

crates/openshell-driver-vm/src/lifecycle.rs:637–642  ·  view source on GitHub ↗
(&self, sandbox: &RestoreContext)

Source from the content-addressed store, hash-verified

635 }
636
637 pub async fn before_restore(&self, sandbox: &RestoreContext) -> LifecycleResult<()> {
638 for ext in self.active_for(&sandbox.sandbox) {
639 ext.before_restore(sandbox).await?;
640 }
641 Ok(())
642 }
643
644 pub async fn after_restore(&self, sandbox: &RestoreContext) {
645 for ext in self.active_for(&sandbox.sandbox) {

Callers 1

Calls 1

active_forMethod · 0.80

Tested by

no test coverage detected