Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_cd_shell_builtin
Function · 0.80
supports_relative_cd
Function · 0.80
invalid_cd_doesnt_change_dir
Function · 0.80
supports_exit_builtin
Function · 0.80
test_pipes_evaluation
Function · 0.80
shell_runs_pwd
Function · 0.80
test_history
Function · 0.80
shell_runs_pwd_twice
Function · 0.80
shell_understands_and_operator
Function · 0.80
shell_understands_or_operator
Function · 0.80
Calls
no outgoing calls
Tested by
10
supports_cd_shell_builtin
Function · 0.64
supports_relative_cd
Function · 0.64
invalid_cd_doesnt_change_dir
Function · 0.64
supports_exit_builtin
Function · 0.64
test_pipes_evaluation
Function · 0.64
shell_runs_pwd
Function · 0.64
test_history
Function · 0.64
shell_runs_pwd_twice
Function · 0.64
shell_understands_and_operator
Function · 0.64
shell_understands_or_operator
Function · 0.64