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 |
This represents the configuration for a single remote repository. Currently, remotes can only be passed around as (reference counted) opaque handles. In future, more API may be added to create and interrogate them.
Since: 2018.6
Exported types
Memory-managed wrapper type.
Instances
Eq Remote Source # | |
GBoxed Remote Source # | |
Defined in GI.OSTree.Structs.Remote | |
ManagedPtrNewtype Remote Source # | |
Defined in GI.OSTree.Structs.Remote toManagedPtr :: Remote -> ManagedPtr Remote | |
TypedObject Remote Source # | |
Defined in GI.OSTree.Structs.Remote glibType :: IO GType | |
IsGValue Remote Source # | Convert |
Defined in GI.OSTree.Structs.Remote toGValue :: Remote -> IO GValue fromGValue :: GValue -> IO Remote | |
HasParentTypes Remote Source # | |
Defined in GI.OSTree.Structs.Remote | |
type ParentTypes Remote Source # | |
Defined in GI.OSTree.Structs.Remote type ParentTypes Remote = '[] :: [Type] |
Methods
Overloaded methods
getName
Get the human-readable name of the remote. This is what the user configured, if the remote was explicitly configured; and will otherwise be a stable, arbitrary, string.
Since: 2018.6
getUrl
Get the URL from the remote.
Since: 2018.6
ref
:: (HasCallStack, MonadIO m) | |
=> Remote |
|
-> m Remote | Returns: a copy of |
Increase the reference count on the given remote
.
Since: 2018.6