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 |
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
- 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.
DiffDirsOptions (ManagedPtr DiffDirsOptions) |
Instances
Eq DiffDirsOptions Source # | |
Defined in GI.OSTree.Structs.DiffDirsOptions (==) :: DiffDirsOptions -> DiffDirsOptions -> Bool # (/=) :: DiffDirsOptions -> DiffDirsOptions -> Bool # | |
BoxedPtr DiffDirsOptions Source # | |
Defined in GI.OSTree.Structs.DiffDirsOptions boxedPtrCopy :: DiffDirsOptions -> IO DiffDirsOptions boxedPtrFree :: DiffDirsOptions -> IO () | |
CallocPtr DiffDirsOptions Source # | |
Defined in GI.OSTree.Structs.DiffDirsOptions | |
ManagedPtrNewtype DiffDirsOptions Source # | |
Defined in GI.OSTree.Structs.DiffDirsOptions toManagedPtr :: DiffDirsOptions -> ManagedPtr DiffDirsOptions | |
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.
Methods
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 ]