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

Method with_old_line_num

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

Set the old line number.

(mut self, line_num: usize)

Source from the content-addressed store, hash-verified

505
506 /// Set the old line number.
507 pub fn with_old_line_num(mut self, line_num: usize) -> Self {
508 self.old_line_num = Some(line_num);
509 self
510 }
511
512 /// Set the new line number.
513 pub fn with_new_line_num(mut self, line_num: usize) -> Self {

Callers 3

convert_deleted_lineMethod · 0.45
convert_modified_lineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected