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

Method next_command

src/script.rs:76–80  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

74 command
75 }
76
77 pub(crate) fn set_explain(&mut self, explain: &str) {
78 let mut explain = explain;
79 if explain.len() > 18 {
80 explain = &explain[0..18];
81 }
82 self.explain = format!("{}{}", explain, "...");
83 }

Callers 1

execute_scriptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected