MCPcopy Index your code
hub / github.com/RustPython/RustPython / _get

Method _get

crates/wasm/src/vm_class.rs:122–124  ·  view source on GitHub ↗
(id: String)

Source from the content-addressed store, hash-verified

120 }
121
122 pub(crate) fn _get(id: String) -> Option<WASMVirtualMachine> {
123 STORED_VMS.with_borrow(|vms| vms.contains_key(&id).then_some(WASMVirtualMachine { id }))
124 }
125
126 pub fn get(id: String) -> JsValue {
127 match Self::_get(id) {

Callers

nothing calls this directly

Calls 1

contains_keyMethod · 0.80

Tested by

no test coverage detected