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 |
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 CSize
- 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 -> CSize -> 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.
DiffFindOptions (ManagedPtr DiffFindOptions) |
Instances
Eq DiffFindOptions Source # | |
Defined in GI.Ggit.Objects.DiffFindOptions (==) :: DiffFindOptions -> DiffFindOptions -> Bool # (/=) :: DiffFindOptions -> DiffFindOptions -> Bool # | |
GObject DiffFindOptions Source # | |
Defined in GI.Ggit.Objects.DiffFindOptions | |
ManagedPtrNewtype DiffFindOptions Source # | |
Defined in GI.Ggit.Objects.DiffFindOptions toManagedPtr :: DiffFindOptions -> ManagedPtr DiffFindOptions | |
TypedObject DiffFindOptions Source # | |
Defined in GI.Ggit.Objects.DiffFindOptions | |
HasParentTypes DiffFindOptions Source # | |
Defined in GI.Ggit.Objects.DiffFindOptions | |
IsGValue (Maybe DiffFindOptions) Source # | Convert |
Defined in GI.Ggit.Objects.DiffFindOptions gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe DiffFindOptions -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe DiffFindOptions) | |
type ParentTypes DiffFindOptions Source # | |
Defined in GI.Ggit.Objects.DiffFindOptions type ParentTypes DiffFindOptions = '[Object] |
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 #
:: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
=> a |
|
-> m Word32 | Returns: the copy threshold. |
Get the find options copy threshold.
getFlags
diffFindOptionsGetFlags Source #
:: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
=> a |
|
-> m [DiffFindFlags] | Returns: the find options flags. |
Get the find options flags.
getMetric
diffFindOptionsGetMetric Source #
:: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
=> a |
|
-> m (Maybe DiffSimilarityMetric) | Returns: a |
Get the find options metric.
getRenameFromRewriteThreshold
diffFindOptionsGetRenameFromRewriteThreshold Source #
:: (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 #
:: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
=> a |
|
-> m CSize | Returns: the rename limit. |
Get the find options rename limit.
getRenameThreshold
diffFindOptionsGetRenameThreshold Source #
:: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
=> a |
|
-> m Word32 | Returns: the rename threshold. |
Get the find options rename threshold.
new
:: (HasCallStack, MonadIO m) | |
=> m (Maybe DiffFindOptions) | Returns: a newly allocated |
Creates a new DiffFindOptions
.
setCopyThreshold
diffFindOptionsSetCopyThreshold Source #
:: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
=> a |
|
-> Word32 |
|
-> m () |
Set the find options copy threshold.
setFlags
diffFindOptionsSetFlags Source #
:: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
=> a |
|
-> [DiffFindFlags] |
|
-> m () |
Set the find options flags.
setMetric
diffFindOptionsSetMetric Source #
:: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
=> a |
|
-> DiffSimilarityMetric |
|
-> m () |
Set the find options metric.
setRenameFromRewriteThreshold
diffFindOptionsSetRenameFromRewriteThreshold Source #
:: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
=> a |
|
-> Word32 |
|
-> m () |
Set the find options rename from rewrite threshold.
setRenameLimit
diffFindOptionsSetRenameLimit Source #
:: (HasCallStack, MonadIO m, IsDiffFindOptions a) | |
=> a |
|
-> CSize |
|
-> m () |
Set the find options rename limit.
setRenameThreshold
diffFindOptionsSetRenameThreshold Source #
:: (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
set
diffFindOptions [ #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
set
diffFindOptions [ #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
set
diffFindOptions [ #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
set
diffFindOptions [ #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
set
diffFindOptions [ #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
set
diffFindOptions [ #renameThreshold:=
value ]