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 |
No description available in the introspection data.
Synopsis
- newtype RepoFinderOverride = RepoFinderOverride (ManagedPtr RepoFinderOverride)
- class (GObject o, IsDescendantOf RepoFinderOverride o) => IsRepoFinderOverride o
- toRepoFinderOverride :: (MonadIO m, IsRepoFinderOverride o) => o -> m RepoFinderOverride
- noRepoFinderOverride :: Maybe RepoFinderOverride
- repoFinderOverrideAddUri :: (HasCallStack, MonadIO m, IsRepoFinderOverride a) => a -> Text -> m ()
- repoFinderOverrideNew :: (HasCallStack, MonadIO m) => m RepoFinderOverride
Exported types
newtype RepoFinderOverride Source #
Memory-managed wrapper type.
RepoFinderOverride (ManagedPtr RepoFinderOverride) |
Instances
GObject RepoFinderOverride Source # | |
Defined in GI.OSTree.Objects.RepoFinderOverride gobjectType :: IO GType | |
HasParentTypes RepoFinderOverride Source # | |
Defined in GI.OSTree.Objects.RepoFinderOverride | |
type ParentTypes RepoFinderOverride Source # | |
Defined in GI.OSTree.Objects.RepoFinderOverride |
class (GObject o, IsDescendantOf RepoFinderOverride o) => IsRepoFinderOverride o Source #
Type class for types which can be safely cast to RepoFinderOverride
, for instance with toRepoFinderOverride
.
Instances
(GObject o, IsDescendantOf RepoFinderOverride o) => IsRepoFinderOverride o Source # | |
Defined in GI.OSTree.Objects.RepoFinderOverride |
toRepoFinderOverride :: (MonadIO m, IsRepoFinderOverride o) => o -> m RepoFinderOverride Source #
Cast to RepoFinderOverride
, for types for which this is known to be safe. For general casts, use castTo
.
noRepoFinderOverride :: Maybe RepoFinderOverride Source #
A convenience alias for Nothing
:: Maybe
RepoFinderOverride
.
Methods
addUri
repoFinderOverrideAddUri Source #
:: (HasCallStack, MonadIO m, IsRepoFinderOverride a) | |
=> a | |
-> Text |
|
-> m () |
Add the given uri
to the set of URIs which the repo finder will search for
matching refs when repoFinderResolveAsync
is called on it.
Since: 2018.6
new
repoFinderOverrideNew Source #
:: (HasCallStack, MonadIO m) | |
=> m RepoFinderOverride | Returns: a new |
Create a new RepoFinderOverride
.
Since: 2018.6