DiffStats
Totals for a whole change, however many of its files a response lists.
Shape
- additionsinteger0–∞Lines added across the whole change.
- deletionsinteger0–∞Lines deleted across the whole change.
- files_changedinteger0–∞Every file the change touches.
Example
Synthesized example{
"additions": 52,
"deletions": 84,
"files_changed": 52
}
Graph
Used inside
Contains
No named schema inside.
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 4 operations
- GETGet diff for a commit/repositories/{repo_id}/commits/{commit_ref}/diff
- GETGet a page of the diff between two commits/repositories/{repo_id}/diff
- GETList every file a diff between two commits changes, without patches/repositories/{repo_id}/diff-files
- GETGet diff for a merge request/repositories/{repo_id}/merge-requests/{mr_id}/diff