Struct git2::DescribeOptions [] [src]

pub struct DescribeOptions { /* fields omitted */ }

Options which indicate how a Describe is created.

Methods

impl DescribeOptions
[src]

[src]

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

[src]

[src]

Sets the reference lookup strategy

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

[src]

Sets the reference lookup strategy

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

[src]

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

[src]

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.

[src]

Trait Implementations

impl Default for DescribeOptions
[src]

[src]

Returns the "default value" for a type. Read more