read
Options
Repository name.
Base Mesa change ID.
Head Mesa change ID.
Controls whether conflicted entries are included, excluded, or returned exclusively.
Organization override.
Response
entries[] and conflicted_entries[] are mutually exclusive: unresolved conflicted paths appear only in conflicted_entries[].
Base change used for comparison.
Head change used for comparison.
Aggregate counts for the response.
Whether the response hit the server entry limit and is incomplete.
Structural changed entries. Unchanged paths are omitted.
Conflict-only details for unresolved paths.
DiffStats
Number of structural entries returned in
entries[].Total added lines across textual diff hunks.
Total deleted lines across textual diff hunks.
Sum of
additions and deletions.Number of paths returned in
conflicted_entries[].Total conflict hunk count across
conflicted_entries[].DiffEntry
Repository-relative path at the head change.
How the entry changed between the base and head changes.
Previous repository-relative path for renamed entries. Null for non-renames.
Approximate size in bytes of the changed entry content, not the textual diff.
Always false for entries returned in
entries[]. Conflicted paths are returned in conflicted_entries[].Why textual hunk data is unavailable. Null when
hunks is present.Structured textual diff hunks. Null when
omitted_reason is set.Structured conflict hunks for the entry, or null when there are none. Structural entries in
entries[] normally return null.DiffHunk
Starting line number in the base side.
Number of base-side lines covered by the hunk.
Starting line number in the head side.
Number of head-side lines covered by the hunk.
Lines in this textual diff hunk.
DiffLine
Line classification inside a textual diff hunk.
Line text.
ConflictedDiffEntry
Repository-relative path for the unresolved conflict.
Per-hunk conflict detail. Empty when
omitted_reason is set or the conflict is non-textual.Approximate size in bytes of the largest side of the conflict.
Why hunk data is unavailable. When set, fetch file bytes with
mesa.content.get() against the target or source change to compose a whole-file resolution.DiffConflictHunk
Stable identifier for the conflict hunk.
Starting line number in the base side.
Number of base-side lines covered by the hunk.
Starting line number in the head side.
Number of head-side lines covered by the hunk.
Target side of the conflicted hunk.
Base side of the conflicted hunk.
Source side of the conflicted hunk.
ChangeConflictHunkSide
Base64-encoded raw bytes for this side of the conflicted hunk.

