## write_filtered_diff

# Function write_filtered_diff

Source

    pub(crate) fn write_filtered_diff<Filter>(
        cx: &TestCx<'_>,
        diff_filename: &str,
        out_dir: &Utf8Path,
        compare_dir: &Utf8Path,
        verbose: bool,
        filter: Filter,
    ) -> boolwhere
        Filter: Fn(FileType, Option<&str>) -> bool,

Expand description

Filters based on filetype and extension whether to diff a file.

Returns whether any data was actually written.