Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
An extensible options structure controlling diff dirs. Make sure
that owner_uid/gid is set to -1 when not used. This is used by
diffDirsWithOptions
.
Synopsis
- newtype DiffDirsOptions = DiffDirsOptions (ManagedPtr DiffDirsOptions)
- newZeroDiffDirsOptions :: MonadIO m => m DiffDirsOptions
- noDiffDirsOptions :: Maybe DiffDirsOptions
- clearDiffDirsOptionsDevinoToCsumCache :: MonadIO m => DiffDirsOptions -> m ()
- getDiffDirsOptionsDevinoToCsumCache :: MonadIO m => DiffDirsOptions -> m (Maybe RepoDevInoCache)
- setDiffDirsOptionsDevinoToCsumCache :: MonadIO m => DiffDirsOptions -> Ptr RepoDevInoCache -> m ()
- getDiffDirsOptionsOwnerGid :: MonadIO m => DiffDirsOptions -> m Int32
- setDiffDirsOptionsOwnerGid :: MonadIO m => DiffDirsOptions -> Int32 -> m ()
- getDiffDirsOptionsOwnerUid :: MonadIO m => DiffDirsOptions -> m Int32
- setDiffDirsOptionsOwnerUid :: MonadIO m => DiffDirsOptions -> Int32 -> m ()
Exported types
newtype DiffDirsOptions Source #
Memory-managed wrapper type.
Instances
WrappedPtr DiffDirsOptions Source # | |
tag ~ AttrSet => Constructible DiffDirsOptions tag Source # | |
Defined in GI.OSTree.Structs.DiffDirsOptions new :: MonadIO m => (ManagedPtr DiffDirsOptions -> DiffDirsOptions) -> [AttrOp DiffDirsOptions tag] -> m DiffDirsOptions # |
newZeroDiffDirsOptions :: MonadIO m => m DiffDirsOptions Source #
Construct a DiffDirsOptions
struct initialized to zero.
noDiffDirsOptions :: Maybe DiffDirsOptions Source #
A convenience alias for Nothing
:: Maybe
DiffDirsOptions
.
Properties
devinoToCsumCache
No description available in the introspection data.
clearDiffDirsOptionsDevinoToCsumCache :: MonadIO m => DiffDirsOptions -> m () Source #
Set the value of the “devino_to_csum_cache
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#devinoToCsumCache
getDiffDirsOptionsDevinoToCsumCache :: MonadIO m => DiffDirsOptions -> m (Maybe RepoDevInoCache) Source #
Get the value of the “devino_to_csum_cache
” field.
When overloading is enabled, this is equivalent to
get
diffDirsOptions #devinoToCsumCache
setDiffDirsOptionsDevinoToCsumCache :: MonadIO m => DiffDirsOptions -> Ptr RepoDevInoCache -> m () Source #
Set the value of the “devino_to_csum_cache
” field.
When overloading is enabled, this is equivalent to
set
diffDirsOptions [ #devinoToCsumCache:=
value ]
ownerGid
No description available in the introspection data.
getDiffDirsOptionsOwnerGid :: MonadIO m => DiffDirsOptions -> m Int32 Source #
Get the value of the “owner_gid
” field.
When overloading is enabled, this is equivalent to
get
diffDirsOptions #ownerGid
setDiffDirsOptionsOwnerGid :: MonadIO m => DiffDirsOptions -> Int32 -> m () Source #
Set the value of the “owner_gid
” field.
When overloading is enabled, this is equivalent to
set
diffDirsOptions [ #ownerGid:=
value ]
ownerUid
No description available in the introspection data.
getDiffDirsOptionsOwnerUid :: MonadIO m => DiffDirsOptions -> m Int32 Source #
Get the value of the “owner_uid
” field.
When overloading is enabled, this is equivalent to
get
diffDirsOptions #ownerUid
setDiffDirsOptionsOwnerUid :: MonadIO m => DiffDirsOptions -> Int32 -> m () Source #
Set the value of the “owner_uid
” field.
When overloading is enabled, this is equivalent to
set
diffDirsOptions [ #ownerUid:=
value ]