Struct git2::PushOptions[][src]

pub struct PushOptions<'cb> { /* fields omitted */ }
Expand description

Options to control the behavior of a git push.

Implementations

Creates a new blank set of push options

Set the callbacks to use for the fetch operation.

Set the proxy options to use for the fetch operation.

If the transport being used to push to the remote requires the creation of a pack file, this controls the number of worker threads used by the packbuilder when creating that pack file to be sent to the remote.

if set to 0 the packbuilder will auto-detect the number of threads to create, and the default value is 1.

Set extra headers for this push operation.

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.