Available on crate feature
worktree-rewrites
only.Expand description
Changes between the index and the worktree along with optional rename tracking.
Structs§
- The context for index_as_worktree_with_renames()`.
- All information that is required to perform a dirwalk.
- Options for use in index_as_worktree_with_renames().
- Provide additional information collected during the runtime of
index_as_worktree_with_renames()
. - Convenience implementation of
VisitEntry
that collects all changes into aVec
.
Enums§
- An ‘entry’ in the sense of a merge of modified tracked files and results from a directory walk.
- The error returned by index_as_worktree_with_renames()`.
- Either an index entry for renames or another directory entry in case of copies.
- The way all output should be sorted.
- An easy to grasp summary of the changes of the worktree compared to the index.
Traits§
- Observe the status of an entry by comparing an index entry to the worktree, along with potential directory walk results.