(status: LineStatus)
| 214 | } |
| 215 | |
| 216 | fn line_status_name(status: LineStatus) -> &'static str { |
| 217 | match status { |
| 218 | LineStatus::Unchanged => "context", |
| 219 | LineStatus::Added => "added", |
| 220 | LineStatus::Removed => "removed", |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | /// Print the document to stdout. |
| 225 | pub(super) fn print_json(document: &JsonDiff) -> CliResult<()> { |