Struct git2::Tag [] [src]

pub struct Tag<'repo> { /* fields omitted */ }

A structure to represent a git tag

Methods

impl<'repo> Tag<'repo>
[src]

[src]

Get the id (SHA1) of a repository tag

[src]

Get the message of a tag

Returns None if there is no message or if it is not valid utf8

[src]

Get the message of a tag

Returns None if there is no message

[src]

Get the name of a tag

Returns None if it is not valid utf8

[src]

Get the name of a tag

[src]

Recursively peel a tag until a non tag git_object is found

[src]

Get the tagger (author) of a tag

If the author is unspecified, then None is returned.

[src]

Get the tagged object of a tag

This method performs a repository lookup for the given object and returns it

[src]

Get the OID of the tagged object of a tag

[src]

Get the OID of the tagged object of a tag

[src]

Casts this Tag to be usable as an Object

[src]

Consumes Tag to be returned as an Object

Trait Implementations

impl<'repo> Drop for Tag<'repo>
[src]

[src]

Executes the destructor for this type. Read more