pub enum Tracked {
Yes,
No,
Unknown {
why: String,
},
}Expand description
Whether git tracks a path — with “could not ask” kept distinct from “no”.
Variants§
Yes
No
Unknown
git could not answer. NOT “no”: this is the state in which every caller must refuse, because “we could not tell whether this file is somebody’s tracked source” is the exact ignorance the two overwrite incidents were made of.
Trait Implementations§
impl Eq for Tracked
impl StructuralPartialEq for Tracked
Auto Trait Implementations§
impl Forget for Tracked
impl Freeze for Tracked
impl Move for Tracked
impl RefUnwindSafe for Tracked
impl Send for Trackedwhere
RawVecInner: Send,
impl Sync for Trackedwhere
RawVecInner: Sync,
impl Unpin for Tracked
impl UnsafeUnpin for Tracked
impl UnwindSafe for Trackedwhere
RawVecInner: UnwindSafe,
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