gi-ggit-1.0.1: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Objects.PushOptions

Contents

Description

Represents a git push options.

Synopsis

Exported types

Methods

getParallelism

pushOptionsGetParallelism Source #

Arguments

:: (HasCallStack, MonadIO m, IsPushOptions a) 
=> a

options: a PushOptions.

-> m Int32

Returns: the number of parallel threads, or 0 for auto-detect.

Get the number of parallel threads to use when creating the pack file to push. The special value 0 indicates that the number of threads will be automatically detected.

new

pushOptionsNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m PushOptions

Returns: a PushOptions.

Create a new push options object.

setParallelism

pushOptionsSetParallelism Source #

Arguments

:: (HasCallStack, MonadIO m, IsPushOptions a) 
=> a

options: a PushOptions.

-> Int32

parallelism: the number of threads, or 0 for auto-detect.

-> m () 

Set the number of parallel threads to use when creating the pack file to push. The special value 0 can be specified for parallelism indicating that the number of threads will be automatically detected.

Properties

parallelism