MCPcopy Index your code
hub / github.com/endbasic/endbasic / exec

Method exec

core/tests/testutils/callables/out_any_value_cmd.rs:53–61  ·  view source on GitHub ↗
(&self, scope: Scope<'_>)

Source from the content-addressed store, hash-verified

51 }
52
53 fn exec(&self, scope: Scope<'_>) -> CallResult<()> {
54 let (formatted, _present, sep) = format_vararg(&scope, 0);
55 assert_eq!(ArgSep::End, sep, "Command only expects one argument");
56
57 let mut output = self.output.borrow_mut();
58 output.push_str(&formatted);
59 output.push('\n');
60 Ok(())
61 }
62}

Callers

nothing calls this directly

Calls 3

format_varargFunction · 0.85
push_strMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected