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

Method total_line_ops

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

Returns the total number of line operations.

(&self)

Source from the content-addressed store, hash-verified

1117
1118 /// Returns the total number of line operations.
1119 pub fn total_line_ops(&self) -> usize {
1120 self.lines_added + self.lines_deleted + self.lines_restored
1121 }
1122
1123 /// Returns the total number of token operations.
1124 pub fn total_token_ops(&self) -> usize {

Callers 1

has_changesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected