Struct git2::Describe [−][src]
pub struct Describe<'repo> { /* fields omitted */ }
The result of a describe
operation on either an Describe
or a
Repository
.
Methods
impl<'repo> Describe<'repo>
[src]
impl<'repo> Describe<'repo>
pub fn format(
&self,
opts: Option<&DescribeFormatOptions>
) -> Result<String, Error>
[src]
pub fn format(
&self,
opts: Option<&DescribeFormatOptions>
) -> Result<String, Error>
Prints this describe result, returning the result as a string.