pub struct TreeEntryNameAudit {
pub empty: bool,
pub dot: bool,
pub dotdot: bool,
pub slash: bool,
pub nul: bool,
pub dotgit: bool,
}Expand description
Semantic problems detected on a tree entry name (fsck aggregates several at once).
Fields§
§empty: boolEmpty component.
dot: boolComponent is ..
dotdot: boolComponent is ...
slash: boolSlash inside the component.
nul: boolNUL inside the component.
dotgit: boolAny .git alias (ASCII, HFS, NTFS, backslash, or git~1).
Implementations§
Source§impl TreeEntryNameAudit
impl TreeEntryNameAudit
Sourcepub fn first_error(self) -> Result<(), PathComponentError>
pub fn first_error(self) -> Result<(), PathComponentError>
Map aggregated flags to a single error (Git fsck reporting order).
Trait Implementations§
Source§impl Clone for TreeEntryNameAudit
impl Clone for TreeEntryNameAudit
impl Copy for TreeEntryNameAudit
Source§impl Debug for TreeEntryNameAudit
impl Debug for TreeEntryNameAudit
Source§impl Default for TreeEntryNameAudit
impl Default for TreeEntryNameAudit
impl Eq for TreeEntryNameAudit
Source§impl PartialEq for TreeEntryNameAudit
impl PartialEq for TreeEntryNameAudit
impl StructuralPartialEq for TreeEntryNameAudit
Auto Trait Implementations§
impl Freeze for TreeEntryNameAudit
impl RefUnwindSafe for TreeEntryNameAudit
impl Send for TreeEntryNameAudit
impl Sync for TreeEntryNameAudit
impl Unpin for TreeEntryNameAudit
impl UnsafeUnpin for TreeEntryNameAudit
impl UnwindSafe for TreeEntryNameAudit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.