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

Method with_new_line_num

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

Set the new line number.

(mut self, line_num: usize)

Source from the content-addressed store, hash-verified

511
512 /// Set the new line number.
513 pub fn with_new_line_num(mut self, line_num: usize) -> Self {
514 self.new_line_num = Some(line_num);
515 self
516 }
517
518 /// Get the old line number.
519 #[inline]

Callers 3

convert_added_lineMethod · 0.45
convert_modified_lineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected