Function diff_text_or_binary

Source
pub fn diff_text_or_binary(
    stored_text_or_binary_store: &XvcStore<FileTextOrBinary>,
    requested_text_or_binary: FileTextOrBinary,
    entities: &HashSet<XvcEntity>,
) -> DiffStore<FileTextOrBinary>
Expand description

For each command, we have a single requested_text_or_binary. We build an actual store by repeating it for all entities we have. This is used to find when the user wants to change recheck method.