MCPcopy Index your code
hub / github.com/assert-rs/assert_cmd / set_cmd

Method set_cmd

src/output.rs:205–208  ·  view source on GitHub ↗

Add the command line for additional context.

(mut self, cmd: String)

Source from the content-addressed store, hash-verified

203
204 /// Add the command line for additional context.
205 pub fn set_cmd(mut self, cmd: String) -> Self {
206 self.cmd = Some(cmd);
207 self
208 }
209
210 /// Add the `stdin` for additional context.
211 pub fn set_stdin(mut self, stdin: Vec<u8>) -> Self {

Callers 2

okMethod · 0.80
okMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected