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

Method add_line_op

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

Adds a line operation.

(&mut self, op: LineOps)

Source from the content-addressed store, hash-verified

436
437 /// Adds a line operation.
438 pub fn add_line_op(&mut self, op: LineOps) {
439 self.line_ops.push(op);
440 }
441
442 /// Returns the number of line operations.
443 #[inline]

Callers 15

convert_diffMethod · 0.45
test_file_ops_editFunction · 0.45
test_stats_from_file_opsFunction · 0.45
operationsFunction · 0.45
fixtureFunction · 0.45
large_changeFunction · 0.45
decodeFunction · 0.45

Calls 1

pushMethod · 0.45