Expand description
sync git api for fetching a diff
Structs§
- Diff
Line - DiffLine DiffLine DiffLine
- Diff
Line Position - Diff
Options - see https://libgit2.org/libgit2/#HEAD/type/git_diff_options
- File
Diff - collection of hunks, sum of all diff lines
- Hunk
- single diff hunk
Enums§
- Diff
Line Type - type of diff of a single line
Functions§
- get_
diff - returns diff of a specific file either in
stage
or workdir returns diff of a specific file either instage
or workdir returns diff of a specific file either instage
or workdir - get_
diff_ commit - returns diff of a specific file inside a commit
returns diff of a specific file inside a commit
returns diff of a specific file inside a commit
see
get_commit_diff
- get_
diff_ commits - for compare get file changes of a diff between two commits