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.DiffFindOptions

Contents

Description

Represents options for finding diff similarity.

Synopsis

Exported types

Methods

getCopyThreshold

diffFindOptionsGetCopyThreshold Source #

Arguments

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

options: a DiffFindOptions.

-> m Word32

Returns: the copy threshold.

Get the find options copy threshold.

getFlags

diffFindOptionsGetFlags Source #

Arguments

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

options: a DiffFindOptions.

-> m [DiffFindFlags]

Returns: the find options flags.

Get the find options flags.

getMetric

diffFindOptionsGetMetric Source #

Get the find options metric.

getRenameFromRewriteThreshold

diffFindOptionsGetRenameFromRewriteThreshold Source #

Arguments

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

options: a DiffFindOptions.

-> m Word32

Returns: the rename from rewrite threshold.

Get the find options rename from rewrite threshold.

getRenameLimit

diffFindOptionsGetRenameLimit Source #

Arguments

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

options: a DiffFindOptions.

-> m Word64

Returns: the rename limit.

Get the find options rename limit.

getRenameThreshold

diffFindOptionsGetRenameThreshold Source #

Arguments

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

options: a DiffFindOptions.

-> m Word32

Returns: the rename threshold.

Get the find options rename threshold.

new

diffFindOptionsNew Source #

Arguments

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

Returns: a newly allocated DiffFindOptions.

Creates a new DiffFindOptions.

setCopyThreshold

diffFindOptionsSetCopyThreshold Source #

Arguments

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

options: a DiffFindOptions.

-> Word32

threshold: the threshold.

-> m () 

Set the find options copy threshold.

setFlags

diffFindOptionsSetFlags Source #

Arguments

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

options: a DiffFindOptions.

-> [DiffFindFlags]

flags: a DiffFindFlags.

-> m () 

Set the find options flags.

setMetric

diffFindOptionsSetMetric Source #

Arguments

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

options: a DiffFindOptions.

-> DiffSimilarityMetric

metric: a DiffSimilarityMetric.

-> m () 

Set the find options metric.

setRenameFromRewriteThreshold

diffFindOptionsSetRenameFromRewriteThreshold Source #

Arguments

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

options: a DiffFindOptions.

-> Word32

threshold: the threshold.

-> m () 

Set the find options rename from rewrite threshold.

setRenameLimit

diffFindOptionsSetRenameLimit Source #

Arguments

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

options: a DiffFindOptions.

-> Word64

limit: the limit.

-> m () 

Set the find options rename limit.

setRenameThreshold

diffFindOptionsSetRenameThreshold Source #

Arguments

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

options: a DiffFindOptions.

-> Word32

threshold: the threshold.

-> m () 

Set the find options rename threshold.

Properties

copyThreshold

flags

metric

renameFromRewriteThreshold

renameLimit

renameThreshold