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

Function render_short_line

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

Render one view line for `--short` mode (names only).

(entry: &ViewEntry, depth: usize)

Source from the content-addressed store, hash-verified

413
414/// Render one view line for `--short` mode (names only).
415pub(crate) fn render_short_line(entry: &ViewEntry, depth: usize) -> String {
416 format!("{}{}", tree_prefix(entry, depth), style_view(&entry.name))
417}
418
419/// The trailing hint describing hidden views.
420pub(crate) fn summary_line(hidden: usize) -> String {

Callers 5

view_listFunction · 0.85
runMethod · 0.85

Calls

no outgoing calls