pub enum DotFsckIssue {
TreeSymlink {
tree_oid: ObjectId,
id: &'static str,
detail: &'static str,
},
NonBlobDotFile {
oid: ObjectId,
kind: ObjectKind,
id: &'static str,
detail: &'static str,
},
BlobGitmodules {
blob_oid: ObjectId,
id: &'static str,
detail: String,
},
BlobGitattributes {
blob_oid: ObjectId,
id: &'static str,
detail: &'static str,
},
}Expand description
Problems reported while walking trees / blobs for .gitmodules / .gitattributes fsck.
Variants§
Implementations§
Source§impl DotFsckIssue
impl DotFsckIssue
Sourcepub fn format_line(&self) -> String
pub fn format_line(&self) -> String
Single-line diagnostic matching git fsck (error in tree / warning in blob, etc.).
Sourcepub fn is_error_severity(&self) -> bool
pub fn is_error_severity(&self) -> bool
true when this fsck message is fatal by default (Git treats gitmodulesParse as INFO).
Trait Implementations§
Source§impl Clone for DotFsckIssue
impl Clone for DotFsckIssue
Source§fn clone(&self) -> DotFsckIssue
fn clone(&self) -> DotFsckIssue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DotFsckIssue
impl RefUnwindSafe for DotFsckIssue
impl Send for DotFsckIssue
impl Sync for DotFsckIssue
impl Unpin for DotFsckIssue
impl UnsafeUnpin for DotFsckIssue
impl UnwindSafe for DotFsckIssue
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