uvcs_diff_file
Shows a unified line diff for one pending file, comparing the workspace revision against the on-disk version. Use it to inspect uncommitted changes before check-in.
Instructions
Return a unified line diff of one pending file: the revision loaded in the workspace against the file on disk. Output longer than 200000 characters is truncated. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Unchanged lines around each change, from 0 to 20. Default: 3. | |
| filePath | Yes | Path relative to UVCS_WORKSPACE of a file with a pending change. |