MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / stdout

Function stdout

atomic-cli/tests/it/build_version_integration_test.rs:15–23  ·  view source on GitHub ↗
(output: Output)

Source from the content-addressed store, hash-verified

13}
14
15fn stdout(output: Output) -> String {
16 assert!(
17 output.status.success(),
18 "command failed: {}\n{}",
19 String::from_utf8_lossy(&output.stdout),
20 String::from_utf8_lossy(&output.stderr)
21 );
22 String::from_utf8(output.stdout).unwrap().trim().to_string()
23}
24
25fn git(dir: &Path, args: &[&str]) -> String {
26 stdout(

Callers 15

generateMethod · 0.85
run_clearMethod · 0.85
runMethod · 0.85
restore_single_dry_runFunction · 0.85
dry_run_single_fileMethod · 0.85
get_messageMethod · 0.85
runMethod · 0.85
startMethod · 0.85
runMethod · 0.85
gitFunction · 0.85

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected