Struct git2::Describe [] [src]

pub struct Describe<'repo> {
    // some fields omitted
}

The result of a describe operation on either an Describe or a Repository.

Methods

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

fn format(&self, opts: Option<&DescribeFormatOptions>) -> Result<StringError>

Prints this describe result, returning the result as a string.

Trait Implementations

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

fn drop(&mut self)

A method called when the value goes out of scope. Read more