Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype RepoFinderMount = RepoFinderMount (ManagedPtr RepoFinderMount)
- class (GObject o, IsDescendantOf RepoFinderMount o) => IsRepoFinderMount o
- toRepoFinderMount :: (MonadIO m, IsRepoFinderMount o) => o -> m RepoFinderMount
- noRepoFinderMount :: Maybe RepoFinderMount
- repoFinderMountNew :: (HasCallStack, MonadIO m, IsVolumeMonitor a) => Maybe a -> m RepoFinderMount
- constructRepoFinderMountMonitor :: (IsRepoFinderMount o, IsVolumeMonitor a) => a -> IO (GValueConstruct o)
- getRepoFinderMountMonitor :: (MonadIO m, IsRepoFinderMount o) => o -> m (Maybe VolumeMonitor)
Exported types
newtype RepoFinderMount Source #
Memory-managed wrapper type.
Instances
Eq RepoFinderMount Source # | |
Defined in GI.OSTree.Objects.RepoFinderMount (==) :: RepoFinderMount -> RepoFinderMount -> Bool # (/=) :: RepoFinderMount -> RepoFinderMount -> Bool # | |
IsGValue RepoFinderMount Source # | Convert |
Defined in GI.OSTree.Objects.RepoFinderMount toGValue :: RepoFinderMount -> IO GValue # fromGValue :: GValue -> IO RepoFinderMount # | |
GObject RepoFinderMount Source # | |
Defined in GI.OSTree.Objects.RepoFinderMount gobjectType :: IO GType # | |
HasParentTypes RepoFinderMount Source # | |
Defined in GI.OSTree.Objects.RepoFinderMount | |
type ParentTypes RepoFinderMount Source # | |
Defined in GI.OSTree.Objects.RepoFinderMount |
class (GObject o, IsDescendantOf RepoFinderMount o) => IsRepoFinderMount o Source #
Type class for types which can be safely cast to RepoFinderMount
, for instance with toRepoFinderMount
.
Instances
(GObject o, IsDescendantOf RepoFinderMount o) => IsRepoFinderMount o Source # | |
Defined in GI.OSTree.Objects.RepoFinderMount |
toRepoFinderMount :: (MonadIO m, IsRepoFinderMount o) => o -> m RepoFinderMount Source #
Cast to RepoFinderMount
, for types for which this is known to be safe. For general casts, use castTo
.
noRepoFinderMount :: Maybe RepoFinderMount Source #
A convenience alias for Nothing
:: Maybe
RepoFinderMount
.
Methods
Overloaded methods
new
:: (HasCallStack, MonadIO m, IsVolumeMonitor a) | |
=> Maybe a |
|
-> m RepoFinderMount | Returns: a new |
Create a new RepoFinderMount
, using the given monitor
to look up
volumes. If monitor
is Nothing
, the monitor from volumeMonitorGet
will
be used.
Since: 2018.6
Properties
monitor
Volume monitor to use to look up mounted volumes when queried.
Since: 2018.6
constructRepoFinderMountMonitor :: (IsRepoFinderMount o, IsVolumeMonitor a) => a -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “monitor
” property. This is rarely needed directly, but it is used by new
.
getRepoFinderMountMonitor :: (MonadIO m, IsRepoFinderMount o) => o -> m (Maybe VolumeMonitor) Source #
Get the value of the “monitor
” property.
When overloading is enabled, this is equivalent to
get
repoFinderMount #monitor