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

Function native_rows

atomic-cli/tests/it/status_git_cb11a_test.rs:240–246  ·  view source on GitHub ↗

The short-format lines of native `atomic status -s`.

(fixture: &Fixture)

Source from the content-addressed store, hash-verified

238
239/// The short-format lines of native `atomic status -s`.
240fn native_rows(fixture: &Fixture) -> Vec<String> {
241 String::from_utf8_lossy(&fixture.atomic_ok(&["status", "-s"]).stdout)
242 .lines()
243 .filter(|line| !line.trim().is_empty())
244 .map(ToString::to_string)
245 .collect()
246}
247
248// ── §9.2 golden rows ────────────────────────────────────────────────────
249

Calls 4

collectMethod · 0.45
linesMethod · 0.45
atomic_okMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected