Expand description
sync git api for fetching a diff
Structs§
- DiffLine 
- DiffLine DiffLine DiffLine
- DiffLine Position 
- DiffOptions 
- see https://libgit2.org/libgit2/#HEAD/type/git_diff_options
- FileDiff 
- collection of hunks, sum of all diff lines
- Hunk
- single diff hunk
Enums§
- DiffLine Type 
- type of diff of a single line
Functions§
- get_diff 
- returns diff of a specific file either in stageor workdir returns diff of a specific file either instageor workdir returns diff of a specific file either instageor 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