Expand description
Structs§
- Diff
- A themed readonly code-review surface in split or unified mode.
- Diff
Annotation - Application-owned content attached to a source line or to a whole file.
- Diff
Conflict - A parsed merge conflict in a working file.
- Diff
File - One changed file parsed from a unified or Git diff.
- Diff
Line Position - A one-based source line, independent of the visual layout.
- Diff
Line Range - An inclusive range of source lines in one file, identified by its
DiffFile::path. - Diff
Parse Error - A malformed or unsupported unified diff, with its one-based patch line.
- Diff
State - Retained focus, viewport, context expansion and selection for a
super::Diffshowing one or more files of a patch.
Enums§
- Diff
Change Indicator - How changed lines are marked beside the code.
- Diff
Conflict Resolution - How the user resolved a conflict.
- Diff
Event - Notifications from the readonly comparison surface.
- Diff
File Status - How a file changed, in Git’s status terms.
- Diff
Hover Highlight - Which part of a row is emphasized while the pointer is over it.
- Diff
Hunk Separator - How the start of each hunk is marked.
- Diff
Inline Unit - The unit inline changes are compared and emphasized in.
- Diff
Mode - How a
Diffpresents the two sides of each file. - Diff
Side - Which source version a position belongs to.