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

Method new

tests/all/utils.rs:15–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14impl<'a> ShellRunner<'a> {
15 pub fn new() -> Self {
16 Self {
17 stdin: None,
18 kill_after: None,
19 example: None,
20 }
21 }
22
23 pub fn with_stdin(mut self, stdin: &'a str) -> Self {
24 self.stdin = Some(stdin);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected