1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
//! Unified diff parsing. //! //! This crate parses `git diff` style unified diffs and extracts scoped lines. mod unified; pub use unified::{ ChangeKind, DiffLine, DiffParseError, DiffStats, // Detection functions for special diff content (Requirements 4.1-4.5) is_binary_file, is_deleted_file, is_mode_change_only, is_new_file, is_submodule, parse_rename_from, parse_rename_to, parse_unified_diff, };