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 Freeze for Tracked
impl RefUnwindSafe for Tracked
impl Send for Tracked
impl Sync for Tracked
impl Unpin for Tracked
impl UnsafeUnpin for Tracked
impl UnwindSafe for Tracked
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