Struct git2::DescribeOptions[][src]

pub struct DescribeOptions { /* fields omitted */ }
Expand description

Options which indicate how a Describe is created.

Implementations

Creates a new blank set of formatting options for a description.

Sets the reference lookup strategy

This behaves like the --tags option to git-describe.

Sets the reference lookup strategy

This behaves like the --all option to git-describe.

Indicates when calculating the distance from the matching tag or reference whether to only walk down the first-parent ancestry.

If no matching tag or reference is found whether a describe option would normally fail. This option indicates, however, that it will instead fall back to showing the full id of the commit.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.