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

Method len

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

Source from the content-addressed store, hash-verified

247 /// Get the length of the line in bytes.
248 #[inline]
249 pub fn len(&self) -> usize {
250 self.content.len()
251 }
252
253 /// Check if the line is empty.
254 #[inline]

Callers 2

from_bytesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected