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

Method drop

e2e/rust/tests/driver_config_volume.rs:48–59  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

46
47impl Drop for VolumeGuard {
48 fn drop(&mut self) {
49 let docker = self.docker.clone();
50 let name = self.name.clone();
51 tokio::spawn(async move {
52 let _ = docker
53 .remove_volume(
54 &name,
55 Some(RemoveVolumeOptionsBuilder::new().force(true).build()),
56 )
57 .await;
58 });
59 }
60}
61
62#[tokio::test]

Callers

nothing calls this directly

Calls 3

remove_volumeMethod · 0.80
spawnFunction · 0.50
buildMethod · 0.45

Tested by

no test coverage detected