MCPcopy Create free account
hub / github.com/Botloader/botloader / get_script_mut

Method get_script_mut

components/vm/src/lib.rs:164–166  ·  view source on GitHub ↗
(&mut self, script_id: u64)

Source from the content-addressed store, hash-verified

162 }
163
164 pub fn get_script_mut(&mut self, script_id: u64) -> Option<&mut ScriptState> {
165 self.scripts.iter_mut().find(|v| v.script.id == script_id)
166 }
167}
168
169impl Default for ScriptsStateStore {

Callers 1

set_stateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected