pub enum Property {
DotGit,
EmptyDirectory,
EmptyDirectoryAndCWD,
TrackedExcluded,
}
Expand description
A way of attaching additional information to an Entry .
Variants§
DotGit
The entry was named .git
, matched according to the case-sensitivity rules of the repository.
EmptyDirectory
The entry is a directory, and that directory is empty.
EmptyDirectoryAndCWD
The entry is a directory, it is empty and the current working directory.
The caller should pay special attention to this very special case, as it is indeed only possible to run into it while traversing the directory for deletion. Non-empty directory will never be collapsed, hence if they are working directories, they naturally become unobservable.
TrackedExcluded
Always in conjunction with a directory on disk that is also known as cone-mode sparse-checkout exclude marker
- i.e. a directory that is excluded, so its whole content is excluded and not checked out nor is part of the index.
Note that evne if the directory is empty, it will only have this state, not EmptyDirectory
.
Trait Implementations§
Source§impl Ord for Property
impl Ord for Property
Source§impl PartialOrd for Property
impl PartialOrd for Property
impl Copy for Property
impl Eq for Property
impl StructuralPartialEq for Property
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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