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

Method summary

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

Get a summary string for this header. Returns the message truncated to the first line.

(&self)

Source from the content-addressed store, hash-verified

275 ///
276 /// Returns the message truncated to the first line.
277 pub fn summary(&self) -> &str {
278 self.message.lines().next().unwrap_or(&self.message)
279 }
280
281 /// Format the header for display.
282 ///

Callers

nothing calls this directly

Calls 2

nextMethod · 0.45
linesMethod · 0.45

Tested by

no test coverage detected