(&self)
| 46 | } |
| 47 | |
| 48 | pub fn mode(&self) -> char { |
| 49 | match self { |
| 50 | DiffChangeKind::Addition => 'A', |
| 51 | DiffChangeKind::Deletion => 'D', |
| 52 | DiffChangeKind::Modification => 'M', |
| 53 | DiffChangeKind::Rewrite => 'R', |
| 54 | DiffChangeKind::Copy => 'C', |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | #[derive(Clone)] |
no outgoing calls
no test coverage detected