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

Function display_path

atomic-cli/tests/cli_surface_integration_test.rs:25–31  ·  view source on GitHub ↗
(path: &[String])

Source from the content-addressed store, hash-verified

23}
24
25fn display_path(path: &[String]) -> String {
26 if path.is_empty() {
27 String::new()
28 } else {
29 format!(" {}", path.join(" "))
30 }
31}
32
33/// Extract the first column from Clap's `Commands:` section.
34///

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected