Expand description
Changes between an index and a worktree.
Modules§
Structs§
- Context
- The context for index_as_worktree()`.
- Options
- Options that control how the index status with a worktree is computed.
- Outcome
- Provide additional information collected during the runtime of
index_as_worktree()
. - Record
- A record of a change.
- Recorder
- Convenience implementation of
VisitEntry
that collects all non-trivial changes into aVec
.
Enums§
- Change
- How an index entry needs to be changed to obtain the destination worktree state, i.e.
entry.apply(this_change) == worktree-entry
. - Conflict
- Describes a conflicting entry as comparison between ‘our’ version and ‘their’ version of it.
- Entry
Status - Information about an entry.
- Error
- The error returned by index_as_worktree()`.
Traits§
- Visit
Entry - Observe the status of an entry by comparing an index entry to the worktree.