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

Method has_trailing_newline

atomic-core/src/diff/line.rs:237–239  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

235 /// Check if this line has a trailing newline.
236 #[inline]
237 pub fn has_trailing_newline(&self) -> bool {
238 self.trailing_newline
239 }
240
241 /// Check if this is the last line in the sequence.
242 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected