pub enum ItemStatus {
Loading,
Missing,
Directory,
GitRepo(Option<RepoSummary>),
}Expand description
Per-item filesystem classification carried alongside config.items.
GitRepo’s inner Option is None when .git exists but libgit2
couldn’t open or read the repo — we know it’s a repo, we just can’t
summarize its state.
Variants§
Trait Implementations§
Source§impl Clone for ItemStatus
impl Clone for ItemStatus
Auto Trait Implementations§
impl Freeze for ItemStatus
impl RefUnwindSafe for ItemStatus
impl Send for ItemStatus
impl Sync for ItemStatus
impl Unpin for ItemStatus
impl UnsafeUnpin for ItemStatus
impl UnwindSafe for ItemStatus
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