Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ valid
Method
valid
crates/wasm/src/vm_class.rs:181–183 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
179
}
180
181
pub fn valid(&self) -> bool {
182
STORED_VMS.with_borrow(|vms| vms.contains_key(&self.id))
183
}
184
185
pub(crate) fn push_held_rc(
186
&self,
Callers
1
assert_valid
Method · 0.45
Calls
1
contains_key
Method · 0.80
Tested by
no test coverage detected