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

Method with_new_line_num

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

Set the new line number.

(mut self, line_num: usize)

Source from the content-addressed store, hash-verified

779
780 /// Set the new line number.
781 pub fn with_new_line_num(mut self, line_num: usize) -> Self {
782 self.new_line_num = Some(line_num);
783 self
784 }
785
786 /// Get the old line number.
787 #[inline]

Callers 3

convert_added_lineMethod · 0.45
convert_modified_lineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected