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

Method total_line_ops

atomic-core/src/change/ops.rs:1104–1106  ·  view source on GitHub ↗

Returns the total number of line operations.

(&self)

Source from the content-addressed store, hash-verified

1102
1103 /// Returns the total number of line operations.
1104 pub fn total_line_ops(&self) -> usize {
1105 self.lines_added + self.lines_deleted + self.lines_restored
1106 }
1107
1108 /// Returns the total number of token operations.
1109 pub fn total_token_ops(&self) -> usize {

Callers 1

has_changesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected