Creates a line restore operation.
(branch_id: BranchId)
| 717 | |
| 718 | /// Creates a line restore operation. |
| 719 | pub fn restore(branch_id: BranchId) -> Self { |
| 720 | Self { |
| 721 | branch_id, |
| 722 | operation: BranchOp::Restore { branch: branch_id }, |
| 723 | old_line_num: None, |
| 724 | new_line_num: None, |
| 725 | content_range: None, |
| 726 | } |
| 727 | } |
| 728 | |
| 729 | /// Creates a line modify operation (old content → new content). |
| 730 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected