pub struct RemovalObservation {
pub administration_identity: String,
pub worktree_entry: (u64, u64),
pub repository: Repository,
pub destination: Option<PathBuf>,
pub branch: Option<String>,
pub dirty_paths: Vec<PathBuf>,
pub dirty_token: Vec<u8>,
pub history: RetainedHistory,
}Expand description
Git facts used to decide whether unlinking needs consent.
Fields§
§administration_identity: StringIdentity of the worktree’s Git administration entry.
worktree_entry: (u64, u64)Native filesystem identity recorded for the worktree entry.
repository: RepositoryVerified backing repository for this participant.
destination: Option<PathBuf>Location of the participant worktree.
branch: Option<String>Branch associated with the worktree, when known.
dirty_paths: Vec<PathBuf>Local changes that could be discarded by unlinking.
dirty_token: Vec<u8>Content-sensitive token scoped to this inspection, never durable consent.
history: RetainedHistoryObserved upstream relationship of the retained branch.
Trait Implementations§
Source§impl Clone for RemovalObservation
impl Clone for RemovalObservation
Auto Trait Implementations§
impl Forget for RemovalObservation
impl Freeze for RemovalObservation
impl Move for RemovalObservation
impl RefUnwindSafe for RemovalObservation
impl Send for RemovalObservation
impl Sync for RemovalObservation
impl Unpin for RemovalObservation
impl UnsafeUnpin for RemovalObservation
impl UnwindSafe for RemovalObservation
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