Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- cleanup
- deployTree
- deploymentSetKargs
- deploymentSetMutable
- deploymentUnlock
- ensureInitialized
- getBootedDeployment
- getBootversion
- getDeploymentDirectory
- getDeploymentDirpath
- getDeploymentOriginPath
- getDeployments
- getFd
- getMergeDeployment
- getPath
- getRepo
- getSubbootversion
- initOsname
- load
- loadIfChanged
- lock
- lockAsync
- lockFinish
- new
- newDefault
- originNewFromRefspec
- prepareCleanup
- simpleWriteDeployment
- tryLock
- unload
- unlock
- writeDeployments
- writeOriginFile
- Properties
- newtype Sysroot = Sysroot (ManagedPtr Sysroot)
- class GObject o => IsSysroot o
- toSysroot :: IsSysroot o => o -> IO Sysroot
- noSysroot :: Maybe Sysroot
- data SysrootCleanupMethodInfo
- sysrootCleanup :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> Maybe b -> m ()
- data SysrootDeployTreeMethodInfo
- sysrootDeployTree :: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) => a -> Maybe Text -> Text -> Maybe KeyFile -> Maybe b -> Maybe [Text] -> Maybe c -> m Deployment
- data SysrootDeploymentSetKargsMethodInfo
- sysrootDeploymentSetKargs :: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) => a -> b -> [Text] -> Maybe c -> m ()
- data SysrootDeploymentSetMutableMethodInfo
- sysrootDeploymentSetMutable :: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) => a -> b -> Bool -> Maybe c -> m ()
- data SysrootDeploymentUnlockMethodInfo
- sysrootDeploymentUnlock :: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) => a -> b -> DeploymentUnlockedState -> Maybe c -> m ()
- data SysrootEnsureInitializedMethodInfo
- sysrootEnsureInitialized :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> Maybe b -> m ()
- data SysrootGetBootedDeploymentMethodInfo
- sysrootGetBootedDeployment :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m Deployment
- data SysrootGetBootversionMethodInfo
- sysrootGetBootversion :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m Int32
- data SysrootGetDeploymentDirectoryMethodInfo
- sysrootGetDeploymentDirectory :: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b) => a -> b -> m File
- data SysrootGetDeploymentDirpathMethodInfo
- sysrootGetDeploymentDirpath :: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b) => a -> b -> m Text
- sysrootGetDeploymentOriginPath :: (HasCallStack, MonadIO m, IsFile a) => a -> m File
- data SysrootGetDeploymentsMethodInfo
- sysrootGetDeployments :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m [Deployment]
- data SysrootGetFdMethodInfo
- sysrootGetFd :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m Int32
- data SysrootGetMergeDeploymentMethodInfo
- sysrootGetMergeDeployment :: (HasCallStack, MonadIO m, IsSysroot a) => a -> Maybe Text -> m Deployment
- data SysrootGetPathMethodInfo
- sysrootGetPath :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m File
- data SysrootGetRepoMethodInfo
- sysrootGetRepo :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> Maybe b -> m Repo
- data SysrootGetSubbootversionMethodInfo
- sysrootGetSubbootversion :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m Int32
- data SysrootInitOsnameMethodInfo
- sysrootInitOsname :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> Text -> Maybe b -> m ()
- data SysrootLoadMethodInfo
- sysrootLoad :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> Maybe b -> m ()
- data SysrootLoadIfChangedMethodInfo
- sysrootLoadIfChanged :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> Bool -> Maybe b -> m ()
- data SysrootLockMethodInfo
- sysrootLock :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m ()
- data SysrootLockAsyncMethodInfo
- sysrootLockAsync :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data SysrootLockFinishMethodInfo
- sysrootLockFinish :: (HasCallStack, MonadIO m, IsSysroot a, IsAsyncResult b) => a -> b -> m ()
- sysrootNew :: (HasCallStack, MonadIO m, IsFile a) => Maybe a -> m Sysroot
- sysrootNewDefault :: (HasCallStack, MonadIO m) => m Sysroot
- data SysrootOriginNewFromRefspecMethodInfo
- sysrootOriginNewFromRefspec :: (HasCallStack, MonadIO m, IsSysroot a) => a -> Text -> m KeyFile
- data SysrootPrepareCleanupMethodInfo
- sysrootPrepareCleanup :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> Maybe b -> m ()
- data SysrootSimpleWriteDeploymentMethodInfo
- sysrootSimpleWriteDeployment :: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsDeployment c, IsCancellable d) => a -> Maybe Text -> b -> Maybe c -> [SysrootSimpleWriteDeploymentFlags] -> Maybe d -> m ()
- data SysrootTryLockMethodInfo
- sysrootTryLock :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m Bool
- data SysrootUnloadMethodInfo
- sysrootUnload :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m ()
- data SysrootUnlockMethodInfo
- sysrootUnlock :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m ()
- data SysrootWriteDeploymentsMethodInfo
- sysrootWriteDeployments :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> [Deployment] -> Maybe b -> m ()
- data SysrootWriteOriginFileMethodInfo
- sysrootWriteOriginFile :: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) => a -> b -> Maybe KeyFile -> Maybe c -> m ()
- data SysrootPathPropertyInfo
- constructSysrootPath :: (IsSysroot o, IsFile a) => a -> IO (GValueConstruct o)
- getSysrootPath :: (MonadIO m, IsSysroot o) => o -> m File
- sysrootPath :: AttrLabelProxy "path"
Exported types
GObject Sysroot Source # | |
IsObject Sysroot Source # | |
IsSysroot Sysroot Source # | |
((~) * info (ResolveSysrootMethod t Sysroot), MethodInfo * info Sysroot p) => IsLabel t (Sysroot -> p) Source # | |
((~) * info (ResolveSysrootMethod t Sysroot), MethodInfo * info Sysroot p) => IsLabelProxy t (Sysroot -> p) Source # | |
HasAttributeList * Sysroot Source # | |
type AttributeList Sysroot Source # | |
type SignalList Sysroot Source # | |
Methods
cleanup
data SysrootCleanupMethodInfo Source #
((~) * signature (Maybe b -> m ()), MonadIO m, IsSysroot a, IsCancellable b) => MethodInfo * SysrootCleanupMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> m () | (Can throw |
Delete any state that resulted from a partially completed transaction, such as incomplete deployments.
deployTree
data SysrootDeployTreeMethodInfo Source #
((~) * signature (Maybe Text -> Text -> Maybe KeyFile -> Maybe b -> Maybe [Text] -> Maybe c -> m Deployment), MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) => MethodInfo * SysrootDeployTreeMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) | |
=> a |
|
-> Maybe Text |
|
-> Text |
|
-> Maybe KeyFile |
|
-> Maybe b |
|
-> Maybe [Text] |
|
-> Maybe c |
|
-> m Deployment | (Can throw |
Check out deployment tree with revision revision
, performing a 3
way merge with providedMergeDeployment
for configuration.
deploymentSetKargs
data SysrootDeploymentSetKargsMethodInfo Source #
((~) * signature (b -> [Text] -> Maybe c -> m ()), MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) => MethodInfo * SysrootDeploymentSetKargsMethodInfo a signature Source # | |
sysrootDeploymentSetKargs Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) | |
=> a |
|
-> b |
|
-> [Text] |
|
-> Maybe c |
|
-> m () | (Can throw |
Entirely replace the kernel arguments of deployment
with the
values in newKargs
.
deploymentSetMutable
data SysrootDeploymentSetMutableMethodInfo Source #
((~) * signature (b -> Bool -> Maybe c -> m ()), MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) => MethodInfo * SysrootDeploymentSetMutableMethodInfo a signature Source # | |
sysrootDeploymentSetMutable Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) | |
=> a |
|
-> b |
|
-> Bool |
|
-> Maybe c | |
-> m () | (Can throw |
By default, deployment directories are not mutable. This function will allow making them temporarily mutable, for example to allow layering additional non-OSTree content.
deploymentUnlock
data SysrootDeploymentUnlockMethodInfo Source #
((~) * signature (b -> DeploymentUnlockedState -> Maybe c -> m ()), MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) => MethodInfo * SysrootDeploymentUnlockMethodInfo a signature Source # | |
sysrootDeploymentUnlock Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) | |
=> a |
|
-> b |
|
-> DeploymentUnlockedState |
|
-> Maybe c |
|
-> m () | (Can throw |
Configure the target deployment deployment
such that it
is writable. There are multiple modes, essentially differing
in whether or not any changes persist across reboot.
The OSTREE_DEPLOYMENT_UNLOCKED_HOTFIX
state is persistent
across reboots.
ensureInitialized
data SysrootEnsureInitializedMethodInfo Source #
((~) * signature (Maybe b -> m ()), MonadIO m, IsSysroot a, IsCancellable b) => MethodInfo * SysrootEnsureInitializedMethodInfo a signature Source # | |
sysrootEnsureInitialized Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> m () | (Can throw |
Ensure that self
is set up as a valid rootfs, by creating
/ostree/repo, among other things.
getBootedDeployment
data SysrootGetBootedDeploymentMethodInfo Source #
((~) * signature (m Deployment), MonadIO m, IsSysroot a) => MethodInfo * SysrootGetBootedDeploymentMethodInfo a signature Source # | |
sysrootGetBootedDeployment Source #
:: (HasCallStack, MonadIO m, IsSysroot a) | |
=> a |
|
-> m Deployment | Returns: The currently booted deployment, or |
No description available in the introspection data.
getBootversion
data SysrootGetBootversionMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsSysroot a) => MethodInfo * SysrootGetBootversionMethodInfo a signature Source # | |
sysrootGetBootversion :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m Int32 Source #
No description available in the introspection data.
getDeploymentDirectory
data SysrootGetDeploymentDirectoryMethodInfo Source #
((~) * signature (b -> m File), MonadIO m, IsSysroot a, IsDeployment b) => MethodInfo * SysrootGetDeploymentDirectoryMethodInfo a signature Source # | |
sysrootGetDeploymentDirectory Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b) | |
=> a |
|
-> b |
|
-> m File | Returns: Path to deployment root directory |
No description available in the introspection data.
getDeploymentDirpath
data SysrootGetDeploymentDirpathMethodInfo Source #
((~) * signature (b -> m Text), MonadIO m, IsSysroot a, IsDeployment b) => MethodInfo * SysrootGetDeploymentDirpathMethodInfo a signature Source # | |
sysrootGetDeploymentDirpath Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b) | |
=> a |
|
-> b |
|
-> m Text | Returns: Path to deployment root directory, relative to sysroot |
Note this function only returns a *relative* path - if you want
to access, it, you must either use fd-relative api such as openat()
,
or concatenate it with the full sysrootGetPath
.
getDeploymentOriginPath
sysrootGetDeploymentOriginPath Source #
:: (HasCallStack, MonadIO m, IsFile a) | |
=> a |
|
-> m File | Returns: Path to deployment origin file |
No description available in the introspection data.
getDeployments
data SysrootGetDeploymentsMethodInfo Source #
((~) * signature (m [Deployment]), MonadIO m, IsSysroot a) => MethodInfo * SysrootGetDeploymentsMethodInfo a signature Source # | |
sysrootGetDeployments Source #
:: (HasCallStack, MonadIO m, IsSysroot a) | |
=> a |
|
-> m [Deployment] | Returns: Ordered list of deployments |
No description available in the introspection data.
getFd
data SysrootGetFdMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsSysroot a) => MethodInfo * SysrootGetFdMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a) | |
=> a |
|
-> m Int32 | Returns: A file descriptor valid for the lifetime of |
Access a file descriptor that refers to the root directory of this
sysroot. sysrootLoad
must have been invoked prior to
calling this function.
getMergeDeployment
data SysrootGetMergeDeploymentMethodInfo Source #
((~) * signature (Maybe Text -> m Deployment), MonadIO m, IsSysroot a) => MethodInfo * SysrootGetMergeDeploymentMethodInfo a signature Source # | |
sysrootGetMergeDeployment Source #
:: (HasCallStack, MonadIO m, IsSysroot a) | |
=> a |
|
-> Maybe Text |
|
-> m Deployment | Returns: Configuration merge deployment |
Find the deployment to use as a configuration merge source; this is the first one in the current deployment list which matches osname.
getPath
data SysrootGetPathMethodInfo Source #
((~) * signature (m File), MonadIO m, IsSysroot a) => MethodInfo * SysrootGetPathMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a) | |
=> a | |
-> m File | Returns: Path to rootfs |
No description available in the introspection data.
getRepo
data SysrootGetRepoMethodInfo Source #
((~) * signature (Maybe b -> m Repo), MonadIO m, IsSysroot a, IsCancellable b) => MethodInfo * SysrootGetRepoMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> m Repo | (Can throw |
Retrieve the OSTree repository in sysroot self
.
getSubbootversion
data SysrootGetSubbootversionMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsSysroot a) => MethodInfo * SysrootGetSubbootversionMethodInfo a signature Source # | |
sysrootGetSubbootversion :: (HasCallStack, MonadIO m, IsSysroot a) => a -> m Int32 Source #
No description available in the introspection data.
initOsname
data SysrootInitOsnameMethodInfo Source #
((~) * signature (Text -> Maybe b -> m ()), MonadIO m, IsSysroot a, IsCancellable b) => MethodInfo * SysrootInitOsnameMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a |
|
-> Text |
|
-> Maybe b |
|
-> m () | (Can throw |
Initialize the directory structure for an "osname", which is a
group of operating system deployments, with a shared /var
. One
is required for generating a deployment.
load
data SysrootLoadMethodInfo Source #
((~) * signature (Maybe b -> m ()), MonadIO m, IsSysroot a, IsCancellable b) => MethodInfo * SysrootLoadMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> m () | (Can throw |
Load deployment list, bootversion, and subbootversion from the
rootfs self
.
loadIfChanged
data SysrootLoadIfChangedMethodInfo Source #
((~) * signature (Bool -> Maybe b -> m ()), MonadIO m, IsSysroot a, IsCancellable b) => MethodInfo * SysrootLoadIfChangedMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a | |
-> Bool | |
-> Maybe b | |
-> m () | (Can throw |
No description available in the introspection data.
lock
data SysrootLockMethodInfo Source #
((~) * signature (m ()), MonadIO m, IsSysroot a) => MethodInfo * SysrootLockMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a) | |
=> a |
|
-> m () | (Can throw |
Acquire an exclusive multi-process write lock for self
. This call
blocks until the lock has been acquired. The lock is not
reentrant.
Release the lock with sysrootUnlock
. The lock will also
be released if self
is deallocated.
lockAsync
data SysrootLockAsyncMethodInfo Source #
((~) * signature (Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsSysroot a, IsCancellable b) => MethodInfo * SysrootLockAsyncMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> Maybe AsyncReadyCallback |
|
-> m () |
An asynchronous version of sysrootLock
.
lockFinish
data SysrootLockFinishMethodInfo Source #
((~) * signature (b -> m ()), MonadIO m, IsSysroot a, IsAsyncResult b) => MethodInfo * SysrootLockFinishMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a, IsAsyncResult b) | |
=> a |
|
-> b |
|
-> m () | (Can throw |
Call when sysrootLockAsync
is ready.
new
:: (HasCallStack, MonadIO m, IsFile a) | |
=> Maybe a |
|
-> m Sysroot | Returns: An accessor object for an system root located at |
No description available in the introspection data.
newDefault
:: (HasCallStack, MonadIO m) | |
=> m Sysroot | Returns: An accessor for the current visible root / filesystem |
No description available in the introspection data.
originNewFromRefspec
data SysrootOriginNewFromRefspecMethodInfo Source #
((~) * signature (Text -> m KeyFile), MonadIO m, IsSysroot a) => MethodInfo * SysrootOriginNewFromRefspecMethodInfo a signature Source # | |
sysrootOriginNewFromRefspec Source #
:: (HasCallStack, MonadIO m, IsSysroot a) | |
=> a | |
-> Text |
|
-> m KeyFile | Returns: A new config file which sets |
No description available in the introspection data.
prepareCleanup
data SysrootPrepareCleanupMethodInfo Source #
((~) * signature (Maybe b -> m ()), MonadIO m, IsSysroot a, IsCancellable b) => MethodInfo * SysrootPrepareCleanupMethodInfo a signature Source # | |
sysrootPrepareCleanup Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> m () | (Can throw |
Like sysrootCleanup
in that it cleans up incomplete deployments
and old boot versions, but does NOT prune the repository.
simpleWriteDeployment
data SysrootSimpleWriteDeploymentMethodInfo Source #
((~) * signature (Maybe Text -> b -> Maybe c -> [SysrootSimpleWriteDeploymentFlags] -> Maybe d -> m ()), MonadIO m, IsSysroot a, IsDeployment b, IsDeployment c, IsCancellable d) => MethodInfo * SysrootSimpleWriteDeploymentMethodInfo a signature Source # | |
sysrootSimpleWriteDeployment Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsDeployment c, IsCancellable d) | |
=> a |
|
-> Maybe Text |
|
-> b |
|
-> Maybe c |
|
-> [SysrootSimpleWriteDeploymentFlags] |
|
-> Maybe d |
|
-> m () | (Can throw |
Prepend newDeployment
to the list of deployments, commit, and
cleanup. By default, all other deployments for the given osname
except the merge deployment and the booted deployment will be
garbage collected.
If SysrootSimpleWriteDeploymentFlagsRetain
is
specified, then all current deployments will be kept.
If SysrootSimpleWriteDeploymentFlagsNotDefault
is
specified, then instead of prepending, the new deployment will be
added right after the booted or merge deployment, instead of first.
tryLock
data SysrootTryLockMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsSysroot a) => MethodInfo * SysrootTryLockMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a) | |
=> a |
|
-> m Bool | (Can throw |
Try to acquire an exclusive multi-process write lock for self
. If
another process holds the lock, this function will return
immediately, setting outAcquired
to False
, and returning True
(and no error).
Release the lock with sysrootUnlock
. The lock will also
be released if self
is deallocated.
unload
data SysrootUnloadMethodInfo Source #
((~) * signature (m ()), MonadIO m, IsSysroot a) => MethodInfo * SysrootUnloadMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a) | |
=> a |
|
-> m () |
Release any resources such as file descriptors referring to the root directory of this sysroot. Normally, those resources are cleared by finalization, but in garbage collected languages that may not be predictable.
This undoes the effect of ostree_sysroot_load()
.
unlock
data SysrootUnlockMethodInfo Source #
((~) * signature (m ()), MonadIO m, IsSysroot a) => MethodInfo * SysrootUnlockMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsSysroot a) | |
=> a |
|
-> m () |
Clear the lock previously acquired with sysrootLock
. It
is safe to call this function if the lock has not been previously
acquired.
writeDeployments
data SysrootWriteDeploymentsMethodInfo Source #
((~) * signature ([Deployment] -> Maybe b -> m ()), MonadIO m, IsSysroot a, IsCancellable b) => MethodInfo * SysrootWriteDeploymentsMethodInfo a signature Source # | |
sysrootWriteDeployments Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a |
|
-> [Deployment] |
|
-> Maybe b |
|
-> m () | (Can throw |
Assuming newDeployments
have already been deployed in place on
disk, atomically update bootloader configuration.
writeOriginFile
data SysrootWriteOriginFileMethodInfo Source #
((~) * signature (b -> Maybe KeyFile -> Maybe c -> m ()), MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) => MethodInfo * SysrootWriteOriginFileMethodInfo a signature Source # | |
sysrootWriteOriginFile Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsDeployment b, IsCancellable c) | |
=> a |
|
-> b |
|
-> Maybe KeyFile |
|
-> Maybe c |
|
-> m () | (Can throw |
Immediately replace the origin file of the referenced deployment
with the contents of newOrigin
. If newOrigin
is Nothing
,
this function will write the current origin of deployment
.
Properties
path
data SysrootPathPropertyInfo Source #
constructSysrootPath :: (IsSysroot o, IsFile a) => a -> IO (GValueConstruct o) Source #
sysrootPath :: AttrLabelProxy "path" Source #