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

Method with_stdin

tests/all/utils.rs:23–26  ·  view source on GitHub ↗
(mut self, stdin: &'a str)

Source from the content-addressed store, hash-verified

21 }
22
23 pub fn with_stdin(mut self, stdin: &'a str) -> Self {
24 self.stdin = Some(stdin);
25 self
26 }
27
28 pub fn example(mut self, example: &'a str) -> Self {
29 self.example = Some(example);

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