MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / remove

Method remove

vmm/src/device_tree.rs:74–76  ·  view source on GitHub ↗
(&mut self, k: &str)

Source from the content-addressed store, hash-verified

72 self.0.insert(k, v)
73 }
74 pub fn remove(&mut self, k: &str) -> Option<DeviceNode> {
75 self.0.remove(k)
76 }
77 pub fn iter(&self) -> std::collections::hash_map::Iter<'_, String, DeviceNode> {
78 self.0.iter()
79 }

Callers 7

validateMethod · 0.45
eject_deviceMethod · 0.45
remove_hw_breakpointMethod · 0.45
nextMethod · 0.45
test_device_treeFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_device_treeFunction · 0.36