pub struct Describe { /* private fields */ }Expand description
git configuration for the describe output
Implementations§
Source§impl Describe
impl Describe
Instead of using only the annotated tags, use any tag found in refs/tags namespace.
Sourcepub fn dirty(&self) -> bool
pub fn dirty(&self) -> bool
If the working tree has local modification “-dirty” is appended to it.
Sourcepub fn match_pattern(&self) -> &Option<&'static str>
pub fn match_pattern(&self) -> &Option<&'static str>
Only consider tags matching the given glob pattern, excluding the “refs/tags/” prefix.
Trait Implementations§
impl Copy for Describe
impl Eq for Describe
impl StructuralPartialEq for Describe
Auto Trait Implementations§
impl Freeze for Describe
impl RefUnwindSafe for Describe
impl Send for Describe
impl Sync for Describe
impl Unpin for Describe
impl UnsafeUnpin for Describe
impl UnwindSafe for Describe
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