MCPcopy Create free account
hub / github.com/corrode/write-yourself-a-shell / example

Method example

tests/all/utils.rs:28–31  ·  view source on GitHub ↗
(mut self, example: &'a str)

Source from the content-addressed store, hash-verified

26 }
27
28 pub fn example(mut self, example: &'a str) -> Self {
29 self.example = Some(example);
30 self
31 }
32
33 /// Wait duration and kill the command afterwards.
34 /// Useful to test commands that don't exit on their own.

Callers 10

supports_relative_cdFunction · 0.80
supports_exit_builtinFunction · 0.80
test_pipes_evaluationFunction · 0.80
shell_runs_pwdFunction · 0.80
test_historyFunction · 0.80
shell_runs_pwd_twiceFunction · 0.80

Calls

no outgoing calls

Tested by 10

supports_relative_cdFunction · 0.64
supports_exit_builtinFunction · 0.64
test_pipes_evaluationFunction · 0.64
shell_runs_pwdFunction · 0.64
test_historyFunction · 0.64
shell_runs_pwd_twiceFunction · 0.64