Struct git2::Tag [−][src]
pub struct Tag<'repo> { /* fields omitted */ }
Expand description
A structure to represent a git tag
Implementations
Get the message of a tag
Returns None if there is no message or if it is not valid utf8
Get the message of a tag
Returns None if there is no message
Get the name of a tag
Recursively peel a tag until a non tag git_object is found
Get the tagger (author) of a tag
If the author is unspecified, then None
is returned.
Get the tagged object of a tag
This method performs a repository lookup for the given object and returns it
Get the OID of the tagged object of a tag
Consumes Tag to be returned as an Object
Trait Implementations
Auto Trait Implementations
impl<'repo> RefUnwindSafe for Tag<'repo>
impl<'repo> UnwindSafe for Tag<'repo>
Blanket Implementations
Mutably borrows from an owned value. Read more