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

Function combined

atomic-cli/tests/insert_promote_integration_test.rs:27–31  ·  view source on GitHub ↗

Combined stdout + stderr as a lossy string, for substring assertions.

(out: &Output)

Source from the content-addressed store, hash-verified

25
26/// Combined stdout + stderr as a lossy string, for substring assertions.
27fn combined(out: &Output) -> String {
28 let mut s = String::from_utf8_lossy(&out.stdout).into_owned();
29 s.push_str(&String::from_utf8_lossy(&out.stderr));
30 s
31}
32
33/// Initialize a repo (default view `dev`) with a base file recorded on `dev`.
34fn repo_with_base() -> TempDir {

Calls

no outgoing calls

Tested by

no test coverage detected