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> {

Callers 6

create_test_changeFunction · 0.45
record_changeFunction · 0.45
record_changeFunction · 0.45
test_empty_fileFunction · 0.45

Calls 2

as_refMethod · 0.80
as_strMethod · 0.45

Tested by 6

create_test_changeFunction · 0.36
record_changeFunction · 0.36
record_changeFunction · 0.36
test_empty_fileFunction · 0.36