git.git_str
¶
This was reintroduced to deal with any bugs in pygit2 (or the libgit2 C library it
binds to). The parse_diff()
function here is only used when
pygit2.Diff.parse_diff()
function fails in cpp_linter.git.parse_diff()
- cpp_linter.git.git_str.parse_diff(full_diff: str, file_filter: FileFilter, lines_changed_only: int) list[FileObj] [source]¶
Parse a given diff into file objects.