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