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

Method message

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

Get the commit message if a header is loaded.

(&self)

Source from the content-addressed store, hash-verified

166
167 /// Get the commit message if a header is loaded.
168 pub fn message(&self) -> Option<&str> {
169 self.header.as_ref().map(|h| h.message.as_str())
170 }
171
172 /// Get the description if a header is loaded.
173 pub fn description(&self) -> Option<&str> {

Calls 2

as_refMethod · 0.80
as_strMethod · 0.45