Skip to main content

load_object_changes

Function load_object_changes 

Source
pub fn load_object_changes(
    repo: &Repository,
    entries: &[DiffEntry],
) -> Result<Vec<FileChange>>
Expand description

Load both sides of each entry from the object database.

Use this for index-against-tree and tree-against-tree entries, whose sides are all stored objects. Entries are loaded in parallel per the repository’s thread policy; the result keeps the order of entries.

§Parameters

§Errors

Returns config load failures and object read errors.