pub fn with_hunks<T: Into<String>>(
        source_file: T,
        target_file: T,
        hunks: Vec<Hunk>,
    ) -> PatchedFile {
        PatchedFile {
            source_file: source_file.into(),
            target_file: target_file.into(),
            source_timestamp: None,
            target_timestamp: None,
            hunks: hunks,
        }
    }
/// Initialize a new PatchedFile instance with hunks
Initialize a new PatchedFile instance with hunks
Initialize a new PatchedFile instance with hunks
pub fn with_hunks<T: Into<String>>(
        source_file: T,
        target_file: T,
        hunks: Vec<Hunk>,
    ) -> PatchedFile {
        PatchedFile {
            source_file: source_file.into(),
            target_file: target_file.into(),
            source_timestamp: None,
            target_timestamp: None,
            hunks: hunks,
        }
    }
pub fn with_hunks < T : Into < String > > ( source_file : T , target_file : T , hunks : Vec < Hunk > , ) -> PatchedFile { PatchedFile { source_file : source_file . into ( ) , target_file : target_file . into ( ) , source_timestamp : None , target_timestamp : None , hunks : hunks , } }
Initialize a new PatchedFile instance with hunks
Initialize a new PatchedFile instance with hunks
source_file
T
target_file
T
hunks
Vec<Hunk>