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

Function log_text

atomic-cli/tests/it/logging_integration_test.rs:68–73  ·  view source on GitHub ↗
(dir: &Path)

Source from the content-addressed store, hash-verified

66}
67
68fn log_text(dir: &Path) -> String {
69 log_files(dir)
70 .iter()
71 .map(|path| fs::read_to_string(path).unwrap())
72 .collect()
73}
74
75fn stderr(output: &Output) -> String {
76 String::from_utf8_lossy(&output.stderr).into_owned()

Calls 4

log_filesFunction · 0.85
collectMethod · 0.45
iterMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected