Skip to main content

run_external_diff

Function run_external_diff 

Source
pub fn run_external_diff(
    diff_tool: &Path,
    diff_args: &[String],
    filepath_a: &str,
    filepath_b: &str,
    options: &DiffOptions,
) -> Result<Vec<String>>
Expand description

run_external_diff: the lines (with their ends) of the diff of the TTX dumps of two fonts, saved as left.ttx and right.ttx in a temporary directory, by the external tool diff_tool with the arguments diff_args. Fails with what the tool writes to standard error, if anything.