Creates a line delete operation with line number.
(branch_id: BranchId, content: Vec<LeafOp>, old_line_num: usize)
| 686 | |
| 687 | /// Creates a line delete operation with line number. |
| 688 | pub fn delete_at(branch_id: BranchId, content: Vec<LeafOp>, old_line_num: usize) -> Self { |
| 689 | Self { |
| 690 | branch_id, |
| 691 | operation: BranchOp::Delete { |
| 692 | branch: branch_id, |
| 693 | content, |
| 694 | }, |
| 695 | old_line_num: Some(old_line_num), |
| 696 | new_line_num: None, |
| 697 | content_range: None, |
| 698 | } |
| 699 | } |
| 700 | |
| 701 | /// Creates a line delete operation without content. |
| 702 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected