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

Method with_new_line_num

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

Set the new line number.

(mut self, line_num: usize)

Source from the content-addressed store, hash-verified

794
795 /// Set the new line number.
796 pub fn with_new_line_num(mut self, line_num: usize) -> Self {
797 self.new_line_num = Some(line_num);
798 self
799 }
800
801 /// Get the old line number.
802 #[inline]

Callers 4

convert_added_lineMethod · 0.45
convert_modified_lineMethod · 0.45

Calls

no outgoing calls

Tested by 1