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

Method with_old_line_num

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

Set the old line number.

(mut self, line_num: usize)

Source from the content-addressed store, hash-verified

788
789 /// Set the old line number.
790 pub fn with_old_line_num(mut self, line_num: usize) -> Self {
791 self.old_line_num = Some(line_num);
792 self
793 }
794
795 /// Set the new line number.
796 pub fn with_new_line_num(mut self, line_num: usize) -> Self {

Calls

no outgoing calls

Tested by 1