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

Method display

atomic-cli/src/commands/stash.rs:223–230  ·  view source on GitHub ↗

Format the stash entry for display. Returns a human-readable string like: `stash@{0}: On dev: Fix authentication bug`

(&self)

Source from the content-addressed store, hash-verified

221 /// Returns a human-readable string like:
222 /// `stash@{0}: On dev: Fix authentication bug`
223 pub fn display(&self) -> String {
224 format!(
225 "{}: On {}: {}",
226 self.reference(),
227 self.source_view,
228 self.message
229 )
230 }
231}
232
233impl std::fmt::Display for StashEntry {

Callers 13

test_stash_entry_displayFunction · 0.80
print_long_formatMethod · 0.80
print_short_formatMethod · 0.80
runMethod · 0.80
runMethod · 0.80
loadMethod · 0.80
parseMethod · 0.80
saveMethod · 0.80
from_fileMethod · 0.80
initMethod · 0.80
find_rootMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_stash_entry_displayFunction · 0.64