pub struct DiffTreeToWorktreeExtras {
pub skip_inaccessible_paths: bool,
pub diagnostics: Option<DiagnosticsHandle>,
pub restrict_to_paths: Option<Arc<BTreeSet<String>>>,
}Expand description
Optional worktree access policy for diff_tree_to_worktree_with_git_dir_and_rules’s slow path.
Fields§
§skip_inaccessible_paths: boolWhen true with Self::diagnostics, skip permission-denied paths with a warning.
diagnostics: Option<DiagnosticsHandle>Warning sink paired with Self::skip_inaccessible_paths.
restrict_to_paths: Option<Arc<BTreeSet<String>>>Limit the walk to these index paths (expanded pathspecs).
Trait Implementations§
Source§impl Clone for DiffTreeToWorktreeExtras
impl Clone for DiffTreeToWorktreeExtras
Auto Trait Implementations§
impl !RefUnwindSafe for DiffTreeToWorktreeExtras
impl !UnwindSafe for DiffTreeToWorktreeExtras
impl Freeze for DiffTreeToWorktreeExtras
impl Send for DiffTreeToWorktreeExtras
impl Sync for DiffTreeToWorktreeExtras
impl Unpin for DiffTreeToWorktreeExtras
impl UnsafeUnpin for DiffTreeToWorktreeExtras
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