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

Method author

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

Add an author.

(mut self, author: Author)

Source from the content-addressed store, hash-verified

359
360 /// Add an author.
361 pub fn author(mut self, author: Author) -> Self {
362 self.authors.push(author);
363 self
364 }
365
366 /// Add multiple authors.
367 pub fn authors(mut self, authors: impl IntoIterator<Item = Author>) -> Self {

Calls 1

pushMethod · 0.45