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

Method has_authors

atomic-core/src/change/header.rs:265–267  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

263 /// Check if this header has any authors.
264 #[inline]
265 pub fn has_authors(&self) -> bool {
266 !self.authors.is_empty()
267 }
268
269 /// Get the first author, if any.
270 pub fn first_author(&self) -> Option<&Author> {

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected