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

Function summary_line

atomic-cli/src/commands/view/list.rs:420–426  ·  view source on GitHub ↗

The trailing hint describing hidden views.

(hidden: usize)

Source from the content-addressed store, hash-verified

418
419/// The trailing hint describing hidden views.
420pub(crate) fn summary_line(hidden: usize) -> String {
421 let noun = if hidden == 1 { "view" } else { "views" };
422 format!(
423 "{} {} not shown because contained no changes. -a to view them.",
424 hidden, noun
425 )
426}
427
428impl List {
429 /// List views on a remote repository.

Callers 1

view_listFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected