---
title: "DiffFile"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.gitpando.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Pando API

## Fields

- `DiffFile.path` (string, required)
- `DiffFile.status` (string, required)
  - one of `"added"`, `"modified"`, `"deleted"`, `"renamed"`
- `DiffFile.binary` (boolean, required)
- `DiffFile.old_path` (string, optional) — Only for `renamed`.
- `DiffFile.old_sha` (string | null, optional)
- `DiffFile.new_sha` (string | null, optional)
- `DiffFile.old_mode` (string | null, optional)
- `DiffFile.new_mode` (string | null, optional)
- `DiffFile.additions` (integer | null, optional)
- `DiffFile.deletions` (integer | null, optional)
- `DiffFile.hunks` (array<object>, optional) — Only with `hunks=1`.
  - `DiffFile.hunks.old_start` (integer, required)
  - `DiffFile.hunks.old_lines` (integer, required)
  - `DiffFile.hunks.new_start` (integer, required)
  - `DiffFile.hunks.new_lines` (integer, required)
  - `DiffFile.hunks.lines` (array<string>, required) — Each line starts with `+`, `-`, ` `, or `\` (no newline at end of file).
- `DiffFile.patch_omitted` (string, optional)
  - one of `"binary"`, `"too_large"`, `"budget"`


Source: https://docs.gitpando.com/api/schemas/DiffFile/index.md
