Function parse_diff

Source
pub fn parse_diff(diff: &Diff<'_>, file_filter: &FileFilter) -> Vec<FileObj>
Expand description

Parses a given git2::Diff and returns a list of FileObjs.

The specified list of extensions, ignored and not_ignored files are used as filters to expedite the process and only focus on the data cpp_linter can use.