1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
//!
//! The Patch library.
//!

mod error;
mod parser;
mod line;
mod context;
mod patch;

pub use crate::{
    error::Error as PatchError,
    parser::PatchProcessor,
    line::Line,
    patch::Patch,
    context::{Context, ContextHeader},
};

pub type PatchResult<T> = Result<T, PatchError>;