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

Method add_line_op

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

Adds a line operation.

(&mut self, op: LineOps)

Source from the content-addressed store, hash-verified

215
216 /// Adds a line operation.
217 pub fn add_line_op(&mut self, op: LineOps) {
218 self.line_ops.push(op);
219 }
220
221 /// Returns the number of line operations.
222 #[inline]

Calls 1

pushMethod · 0.45