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

Method first_author

atomic-core/src/change/header.rs:270–272  ·  view source on GitHub ↗

Get the first author, if any.

(&self)

Source from the content-addressed store, hash-verified

268
269 /// Get the first author, if any.
270 pub fn first_author(&self) -> Option<&Author> {
271 self.authors.first()
272 }
273
274 /// Get a summary string for this header.
275 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected