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

Method description

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

Get the description if a header is loaded.

(&self)

Source from the content-addressed store, hash-verified

171
172 /// Get the description if a header is loaded.
173 pub fn description(&self) -> Option<&str> {
174 self.header.as_ref().and_then(|h| h.description.as_deref())
175 }
176
177 /// Get the timestamp if a header is loaded.
178 pub fn timestamp(&self) -> Option<chrono::DateTime<chrono::Utc>> {

Callers 1

classify_hashesMethod · 0.45

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected