Struct git2::FetchOptions [] [src]

pub struct FetchOptions<'cb> { /* fields omitted */ }

Options which can be specified to various fetch operations.

Methods

impl<'cb> FetchOptions<'cb>
[src]

[src]

Creates a new blank set of fetch options

[src]

Set the callbacks to use for the fetch operation.

[src]

Set the proxy options to use for the fetch operation.

[src]

Set whether to perform a prune after the fetch.

[src]

Set whether to write the results to FETCH_HEAD.

Defaults to true.

[src]

Set how to behave regarding tags on the remote, such as auto-downloading tags for objects we're downloading or downloading all of them.

The default is to auto-follow tags.

Trait Implementations

impl<'cb> Default for FetchOptions<'cb>
[src]

[src]

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