pub enum InTreeControlFile {
Absent,
Contents(Vec<u8>),
Symlink,
NotRegular,
TooLarge(u64),
}Expand description
What reading an in-tree control file found.
Variants§
Absent
Contents(Vec<u8>)
Symlink
A symlink, which is never followed. Git ≥ 2.32 refuses to follow
in-tree .gitignore symlinks for the same reason: the target may be
any file on the machine, or a device such as /dev/zero.
NotRegular
A FIFO, device, socket or directory. Reading one could block forever or never end.
TooLarge(u64)
Trait Implementations§
Source§impl Debug for InTreeControlFile
impl Debug for InTreeControlFile
impl Eq for InTreeControlFile
Source§impl PartialEq for InTreeControlFile
impl PartialEq for InTreeControlFile
impl StructuralPartialEq for InTreeControlFile
Auto Trait Implementations§
impl Freeze for InTreeControlFile
impl RefUnwindSafe for InTreeControlFile
impl Send for InTreeControlFile
impl Sync for InTreeControlFile
impl Unpin for InTreeControlFile
impl UnsafeUnpin for InTreeControlFile
impl UnwindSafe for InTreeControlFile
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