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 |
No description available in the introspection data.
Synopsis
- newtype BootconfigParser = BootconfigParser (ManagedPtr BootconfigParser)
- class (GObject o, IsDescendantOf BootconfigParser o) => IsBootconfigParser o
- toBootconfigParser :: (MonadIO m, IsBootconfigParser o) => o -> m BootconfigParser
- bootconfigParserClone :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> m BootconfigParser
- bootconfigParserGet :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> Text -> m Text
- bootconfigParserGetOverlayInitrds :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> m (Maybe [Text])
- bootconfigParserNew :: (HasCallStack, MonadIO m) => m BootconfigParser
- bootconfigParserParse :: (HasCallStack, MonadIO m, IsBootconfigParser a, IsFile b, IsCancellable c) => a -> b -> Maybe c -> m ()
- bootconfigParserParseAt :: (HasCallStack, MonadIO m, IsBootconfigParser a, IsCancellable b) => a -> Int32 -> Text -> Maybe b -> m ()
- bootconfigParserSet :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> Text -> Text -> m ()
- bootconfigParserSetOverlayInitrds :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> Maybe [Text] -> m ()
- bootconfigParserWrite :: (HasCallStack, MonadIO m, IsBootconfigParser a, IsFile b, IsCancellable c) => a -> b -> Maybe c -> m ()
- bootconfigParserWriteAt :: (HasCallStack, MonadIO m, IsBootconfigParser a, IsCancellable b) => a -> Int32 -> Text -> Maybe b -> m ()
Exported types
newtype BootconfigParser Source #
Memory-managed wrapper type.
Instances
Eq BootconfigParser Source # | |
Defined in GI.OSTree.Objects.BootconfigParser (==) :: BootconfigParser -> BootconfigParser -> Bool # (/=) :: BootconfigParser -> BootconfigParser -> Bool # | |
GObject BootconfigParser Source # | |
Defined in GI.OSTree.Objects.BootconfigParser | |
ManagedPtrNewtype BootconfigParser Source # | |
TypedObject BootconfigParser Source # | |
Defined in GI.OSTree.Objects.BootconfigParser | |
HasParentTypes BootconfigParser Source # | |
Defined in GI.OSTree.Objects.BootconfigParser | |
IsGValue (Maybe BootconfigParser) Source # | Convert |
Defined in GI.OSTree.Objects.BootconfigParser gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe BootconfigParser -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe BootconfigParser) # | |
type ParentTypes BootconfigParser Source # | |
Defined in GI.OSTree.Objects.BootconfigParser |
class (GObject o, IsDescendantOf BootconfigParser o) => IsBootconfigParser o Source #
Type class for types which can be safely cast to BootconfigParser
, for instance with toBootconfigParser
.
Instances
(GObject o, IsDescendantOf BootconfigParser o) => IsBootconfigParser o Source # | |
Defined in GI.OSTree.Objects.BootconfigParser |
toBootconfigParser :: (MonadIO m, IsBootconfigParser o) => o -> m BootconfigParser Source #
Cast to BootconfigParser
, 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, clone, forceFloating, freezeNotify, get, getv, isFloating, notify, notifyByPspec, parse, parseAt, ref, refSink, runDispose, set, stealData, stealQdata, thawNotify, unref, watchClosure, write, writeAt.
Getters
getData, getOverlayInitrds, getProperty, getQdata.
Setters
clone
bootconfigParserClone Source #
:: (HasCallStack, MonadIO m, IsBootconfigParser a) | |
=> a |
|
-> m BootconfigParser | Returns: Copy of |
No description available in the introspection data.
get
bootconfigParserGet :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> Text -> m Text Source #
No description available in the introspection data.
getOverlayInitrds
bootconfigParserGetOverlayInitrds Source #
:: (HasCallStack, MonadIO m, IsBootconfigParser a) | |
=> a |
|
-> m (Maybe [Text]) | Returns: Array of initrds or |
No description available in the introspection data.
Since: 2020.7
new
bootconfigParserNew :: (HasCallStack, MonadIO m) => m BootconfigParser Source #
No description available in the introspection data.
parse
bootconfigParserParse Source #
:: (HasCallStack, MonadIO m, IsBootconfigParser a, IsFile b, IsCancellable c) | |
=> a | |
-> b | |
-> Maybe c | |
-> m () | (Can throw |
No description available in the introspection data.
parseAt
bootconfigParserParseAt Source #
:: (HasCallStack, MonadIO m, IsBootconfigParser a, IsCancellable b) | |
=> a |
|
-> Int32 |
|
-> Text |
|
-> Maybe b |
|
-> m () | (Can throw |
Initialize a bootconfig from the given file.
set
bootconfigParserSet :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> Text -> Text -> m () Source #
No description available in the introspection data.
setOverlayInitrds
bootconfigParserSetOverlayInitrds Source #
:: (HasCallStack, MonadIO m, IsBootconfigParser a) | |
=> a |
|
-> Maybe [Text] |
|
-> m () |
These are rendered as additional initrd
keys in the final bootloader configs. The
base initrd is part of the primary keys.
Since: 2020.7
write
bootconfigParserWrite Source #
:: (HasCallStack, MonadIO m, IsBootconfigParser a, IsFile b, IsCancellable c) | |
=> a | |
-> b | |
-> Maybe c | |
-> m () | (Can throw |
No description available in the introspection data.
writeAt
bootconfigParserWriteAt Source #
:: (HasCallStack, MonadIO m, IsBootconfigParser a, IsCancellable b) | |
=> a | |
-> Int32 | |
-> Text | |
-> Maybe b | |
-> m () | (Can throw |
No description available in the introspection data.