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 |
Represents the options used when creating getting file status.
Synopsis
- newtype StatusOptions = StatusOptions (ManagedPtr StatusOptions)
- noStatusOptions :: Maybe StatusOptions
- statusOptionsCopy :: (HasCallStack, MonadIO m) => StatusOptions -> m (Maybe StatusOptions)
- statusOptionsFree :: (HasCallStack, MonadIO m) => StatusOptions -> m ()
- statusOptionsNew :: (HasCallStack, MonadIO m) => [StatusOption] -> StatusShow -> Maybe [Text] -> m StatusOptions
Exported types
newtype StatusOptions Source #
Memory-managed wrapper type.
Instances
BoxedObject StatusOptions Source # | |
Defined in GI.Ggit.Structs.StatusOptions boxedType :: StatusOptions -> IO GType # |
noStatusOptions :: Maybe StatusOptions Source #
A convenience alias for Nothing
:: Maybe
StatusOptions
.
Methods
copy
:: (HasCallStack, MonadIO m) | |
=> StatusOptions |
|
-> m (Maybe StatusOptions) | Returns: a newly allocated |
Copies statusOptions
into a newly allocated StatusOptions
.
free
:: (HasCallStack, MonadIO m) | |
=> StatusOptions |
|
-> m () |
Frees statusOptions
.
new
:: (HasCallStack, MonadIO m) | |
=> [StatusOption] |
|
-> StatusShow |
|
-> Maybe [Text] |
|
-> m StatusOptions | Returns: a newly allocated |
Creates a new StatusOptions
for use in ggit_repository_stash_foreach
.