[][src]Struct git2::FetchOptions

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

Options which can be specified to various fetch operations.

Methods

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

Creates a new blank set of fetch options

Set the callbacks to use for the fetch operation.

Set the proxy options to use for the fetch operation.

Set whether to perform a prune after the fetch.

Set whether to write the results to FETCH_HEAD.

Defaults to true.

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]

Auto Trait Implementations

impl<'cb> !Send for FetchOptions<'cb>

impl<'cb> !Sync for FetchOptions<'cb>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]