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

Method author_display

atomic-core/src/change/credit.rs:309–314  ·  view source on GitHub ↗

Get a display string for the author.

(&self)

Source from the content-addressed store, hash-verified

307
308 /// Get a display string for the author.
309 pub fn author_display(&self) -> String {
310 match &self.author_email {
311 Some(email) => format!("{} <{}>", self.author_name, email),
312 None => self.author_name.clone(),
313 }
314 }
315
316 /// Get a short attribution string (e.g., "alice `[H]`" or "bob `[A:claude]`").
317 pub fn short_attribution(&self) -> String {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected