Module index_as_worktree

Source
Expand description

Changes between an index and a worktree.

Modules§

traits

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 a Vec.

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.
EntryStatus
Information about an entry.
Error
The error returned by index_as_worktree()`.

Traits§

VisitEntry
Observe the status of an entry by comparing an index entry to the worktree.