| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Ggit.Objects.DiffFindOptions
Contents
Description
Represents options for finding diff similarity.
Synopsis
- newtype DiffFindOptions = DiffFindOptions (ManagedPtr DiffFindOptions)
- class (GObject o, IsDescendantOf DiffFindOptions o) => IsDiffFindOptions o
- toDiffFindOptions :: (MonadIO m, IsDiffFindOptions o) => o -> m DiffFindOptions
- diffFindOptionsGetCopyThreshold :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> m Word32
- diffFindOptionsGetFlags :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> m [DiffFindFlags]
- diffFindOptionsGetMetric :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> m (Maybe DiffSimilarityMetric)
- diffFindOptionsGetRenameFromRewriteThreshold :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> m Word32
- diffFindOptionsGetRenameLimit :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> m Word64
- diffFindOptionsGetRenameThreshold :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> m Word32
- diffFindOptionsNew :: (HasCallStack, MonadIO m) => m (Maybe DiffFindOptions)
- diffFindOptionsSetCopyThreshold :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> Word32 -> m ()
- diffFindOptionsSetFlags :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> [DiffFindFlags] -> m ()
- diffFindOptionsSetMetric :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> DiffSimilarityMetric -> m ()
- diffFindOptionsSetRenameFromRewriteThreshold :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> Word32 -> m ()
- diffFindOptionsSetRenameLimit :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> Word64 -> m ()
- diffFindOptionsSetRenameThreshold :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> Word32 -> m ()
- constructDiffFindOptionsCopyThreshold :: (IsDiffFindOptions o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getDiffFindOptionsCopyThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> m Word32
- setDiffFindOptionsCopyThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> Word32 -> m ()
- constructDiffFindOptionsFlags :: (IsDiffFindOptions o, MonadIO m) => [DiffFindFlags] -> m (GValueConstruct o)
- getDiffFindOptionsFlags :: (MonadIO m, IsDiffFindOptions o) => o -> m [DiffFindFlags]
- setDiffFindOptionsFlags :: (MonadIO m, IsDiffFindOptions o) => o -> [DiffFindFlags] -> m ()
- constructDiffFindOptionsMetric :: (IsDiffFindOptions o, MonadIO m) => DiffSimilarityMetric -> m (GValueConstruct o)
- getDiffFindOptionsMetric :: (MonadIO m, IsDiffFindOptions o) => o -> m (Maybe DiffSimilarityMetric)
- setDiffFindOptionsMetric :: (MonadIO m, IsDiffFindOptions o) => o -> DiffSimilarityMetric -> m ()
- constructDiffFindOptionsRenameFromRewriteThreshold :: (IsDiffFindOptions o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getDiffFindOptionsRenameFromRewriteThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> m Word32
- setDiffFindOptionsRenameFromRewriteThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> Word32 -> m ()
- constructDiffFindOptionsRenameLimit :: (IsDiffFindOptions o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getDiffFindOptionsRenameLimit :: (MonadIO m, IsDiffFindOptions o) => o -> m Word32
- setDiffFindOptionsRenameLimit :: (MonadIO m, IsDiffFindOptions o) => o -> Word32 -> m ()
- constructDiffFindOptionsRenameThreshold :: (IsDiffFindOptions o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getDiffFindOptionsRenameThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> m Word32
- setDiffFindOptionsRenameThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> Word32 -> m ()
Exported types
newtype DiffFindOptions Source #
Memory-managed wrapper type.
Constructors
| DiffFindOptions (ManagedPtr DiffFindOptions) |
Instances
class (GObject o, IsDescendantOf DiffFindOptions o) => IsDiffFindOptions o Source #
Type class for types which can be safely cast to DiffFindOptions, for instance with toDiffFindOptions.
Instances
| (GObject o, IsDescendantOf DiffFindOptions o) => IsDiffFindOptions o Source # | |
Defined in GI.Ggit.Objects.DiffFindOptions | |
toDiffFindOptions :: (MonadIO m, IsDiffFindOptions o) => o -> m DiffFindOptions Source #
Cast to DiffFindOptions, for types for which this is known to be safe. For general casts, use castTo.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getCopyThreshold, getData, getFlags, getMetric, getProperty, getQdata, getRenameFromRewriteThreshold, getRenameLimit, getRenameThreshold.
Setters
setCopyThreshold, setData, setDataFull, setFlags, setMetric, setProperty, setRenameFromRewriteThreshold, setRenameLimit, setRenameThreshold.
getCopyThreshold
diffFindOptionsGetCopyThreshold Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
| => a |
|
| -> m Word32 | Returns: the copy threshold. |
Get the find options copy threshold.
getFlags
diffFindOptionsGetFlags Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
| => a |
|
| -> m [DiffFindFlags] | Returns: the find options flags. |
Get the find options flags.
getMetric
diffFindOptionsGetMetric Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
| => a |
|
| -> m (Maybe DiffSimilarityMetric) | Returns: a |
Get the find options metric.
getRenameFromRewriteThreshold
diffFindOptionsGetRenameFromRewriteThreshold Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
| => a |
|
| -> 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 |
|
| -> m Word64 | Returns: the rename limit. |
Get the find options rename limit.
getRenameThreshold
diffFindOptionsGetRenameThreshold Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
| => a |
|
| -> m Word32 | Returns: the rename threshold. |
Get the find options rename threshold.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m (Maybe DiffFindOptions) | Returns: a newly allocated |
Creates a new DiffFindOptions.
setCopyThreshold
diffFindOptionsSetCopyThreshold Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
| => a |
|
| -> Word32 |
|
| -> m () |
Set the find options copy threshold.
setFlags
diffFindOptionsSetFlags Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
| => a |
|
| -> [DiffFindFlags] |
|
| -> m () |
Set the find options flags.
setMetric
diffFindOptionsSetMetric Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
| => a |
|
| -> DiffSimilarityMetric |
|
| -> m () |
Set the find options metric.
setRenameFromRewriteThreshold
diffFindOptionsSetRenameFromRewriteThreshold Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
| => a |
|
| -> Word32 |
|
| -> m () |
Set the find options rename from rewrite threshold.
setRenameLimit
diffFindOptionsSetRenameLimit Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
| => a |
|
| -> Word64 |
|
| -> m () |
Set the find options rename limit.
setRenameThreshold
diffFindOptionsSetRenameThreshold Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
| => a |
|
| -> Word32 |
|
| -> m () |
Set the find options rename threshold.
Properties
copyThreshold
No description available in the introspection data.
constructDiffFindOptionsCopyThreshold :: (IsDiffFindOptions o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “copy-threshold” property. This is rarely needed directly, but it is used by new.
getDiffFindOptionsCopyThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> m Word32 Source #
Get the value of the “copy-threshold” property.
When overloading is enabled, this is equivalent to
get diffFindOptions #copyThreshold
setDiffFindOptionsCopyThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> Word32 -> m () Source #
Set the value of the “copy-threshold” property.
When overloading is enabled, this is equivalent to
setdiffFindOptions [ #copyThreshold:=value ]
flags
The diff option flags.
constructDiffFindOptionsFlags :: (IsDiffFindOptions o, MonadIO m) => [DiffFindFlags] -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “flags” property. This is rarely needed directly, but it is used by new.
getDiffFindOptionsFlags :: (MonadIO m, IsDiffFindOptions o) => o -> m [DiffFindFlags] Source #
Get the value of the “flags” property.
When overloading is enabled, this is equivalent to
get diffFindOptions #flags
setDiffFindOptionsFlags :: (MonadIO m, IsDiffFindOptions o) => o -> [DiffFindFlags] -> m () Source #
Set the value of the “flags” property.
When overloading is enabled, this is equivalent to
setdiffFindOptions [ #flags:=value ]
metric
No description available in the introspection data.
constructDiffFindOptionsMetric :: (IsDiffFindOptions o, MonadIO m) => DiffSimilarityMetric -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “metric” property. This is rarely needed directly, but it is used by new.
getDiffFindOptionsMetric :: (MonadIO m, IsDiffFindOptions o) => o -> m (Maybe DiffSimilarityMetric) Source #
Get the value of the “metric” property.
When overloading is enabled, this is equivalent to
get diffFindOptions #metric
setDiffFindOptionsMetric :: (MonadIO m, IsDiffFindOptions o) => o -> DiffSimilarityMetric -> m () Source #
Set the value of the “metric” property.
When overloading is enabled, this is equivalent to
setdiffFindOptions [ #metric:=value ]
renameFromRewriteThreshold
No description available in the introspection data.
constructDiffFindOptionsRenameFromRewriteThreshold :: (IsDiffFindOptions o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “rename-from-rewrite-threshold” property. This is rarely needed directly, but it is used by new.
getDiffFindOptionsRenameFromRewriteThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> m Word32 Source #
Get the value of the “rename-from-rewrite-threshold” property.
When overloading is enabled, this is equivalent to
get diffFindOptions #renameFromRewriteThreshold
setDiffFindOptionsRenameFromRewriteThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> Word32 -> m () Source #
Set the value of the “rename-from-rewrite-threshold” property.
When overloading is enabled, this is equivalent to
setdiffFindOptions [ #renameFromRewriteThreshold:=value ]
renameLimit
No description available in the introspection data.
constructDiffFindOptionsRenameLimit :: (IsDiffFindOptions o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “rename-limit” property. This is rarely needed directly, but it is used by new.
getDiffFindOptionsRenameLimit :: (MonadIO m, IsDiffFindOptions o) => o -> m Word32 Source #
Get the value of the “rename-limit” property.
When overloading is enabled, this is equivalent to
get diffFindOptions #renameLimit
setDiffFindOptionsRenameLimit :: (MonadIO m, IsDiffFindOptions o) => o -> Word32 -> m () Source #
Set the value of the “rename-limit” property.
When overloading is enabled, this is equivalent to
setdiffFindOptions [ #renameLimit:=value ]
renameThreshold
No description available in the introspection data.
constructDiffFindOptionsRenameThreshold :: (IsDiffFindOptions o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “rename-threshold” property. This is rarely needed directly, but it is used by new.
getDiffFindOptionsRenameThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> m Word32 Source #
Get the value of the “rename-threshold” property.
When overloading is enabled, this is equivalent to
get diffFindOptions #renameThreshold
setDiffFindOptionsRenameThreshold :: (MonadIO m, IsDiffFindOptions o) => o -> Word32 -> m () Source #
Set the value of the “rename-threshold” property.
When overloading is enabled, this is equivalent to
setdiffFindOptions [ #renameThreshold:=value ]