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

Method authors

atomic-repository/src/history/types.rs:183–185  ·  view source on GitHub ↗

Get the authors if a header is loaded.

(&self)

Source from the content-addressed store, hash-verified

181
182 /// Get the authors if a header is loaded.
183 pub fn authors(&self) -> Option<&[atomic_core::change::Author]> {
184 self.header.as_ref().map(|h| h.authors.as_slice())
185 }
186}
187
188impl fmt::Display for HistoryEntry {

Callers

nothing calls this directly

Calls 2

as_refMethod · 0.80
as_sliceMethod · 0.45

Tested by

no test coverage detected