MCPcopy Index your code
hub / github.com/RustOtomeLab/RustEng / push_backlog

Method push_backlog

src/script.rs:158–165  ·  view source on GitHub ↗
(&mut self, name: SharedString, text: SharedString)

Source from the content-addressed store, hash-verified

156 }
157
158 pub(crate) fn push_backlog(&mut self, name: SharedString, text: SharedString) {
159 self.backlog.push(BackLog {
160 front: name,
161 back: text,
162 script: self.name.to_shared_string(),
163 index: self.current_block,
164 });
165 }
166
167 pub(crate) fn push_command(&mut self, command: Commands) {
168 self.commands.push(command);

Callers 1

apply_commandMethod · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected