MCPcopy Create free account
hub / github.com/PowerShell/DSC / print_input

Function print_input

resources/process/src/main.rs:37–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37fn print_input() {
38 let mut buffer: Vec<u8> = Vec::new();
39 io::stdin().read_to_end(&mut buffer).unwrap();
40 let input = String::from_utf8(buffer);
41 println!("{}", input.unwrap());
42}
43
44fn main() {
45 let args: Vec<String> = env::args().collect();

Callers 1

mainFunction · 0.85

Calls 1

newFunction · 0.50

Tested by

no test coverage detected