pub struct DiffPostprocessWorktree<'a> {
pub repository_git_dir: &'a Path,
pub index: &'a Index,
}Expand description
Index and git directory used to read canonical (clean) worktree bytes during break-rewrite post-processing on tree↔worktree diffs.
Fields§
§repository_git_dir: &'a PathGit directory for config and attributes (linked worktrees / gitfiles).
index: &'a IndexCurrent index; stage-0 entries supply autocrlf index-guard blobs when needed.
Trait Implementations§
Source§impl<'a> Clone for DiffPostprocessWorktree<'a>
impl<'a> Clone for DiffPostprocessWorktree<'a>
impl<'a> Copy for DiffPostprocessWorktree<'a>
Auto Trait Implementations§
impl<'a> Freeze for DiffPostprocessWorktree<'a>
impl<'a> RefUnwindSafe for DiffPostprocessWorktree<'a>
impl<'a> Send for DiffPostprocessWorktree<'a>
impl<'a> Sync for DiffPostprocessWorktree<'a>
impl<'a> Unpin for DiffPostprocessWorktree<'a>
impl<'a> UnsafeUnpin for DiffPostprocessWorktree<'a>
impl<'a> UnwindSafe for DiffPostprocessWorktree<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more