| 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 |
GI.OSTree.Structs.Remote
Description
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 Methods toManagedPtr :: Remote -> ManagedPtr Remote | |
| TypedObject Remote Source # | |
Defined in GI.OSTree.Structs.Remote Methods glibType :: IO GType | |
| IsGValue Remote Source # | Convert |
Defined in GI.OSTree.Structs.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
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Remote |
|
| -> m Remote | Returns: a copy of |
Increase the reference count on the given remote.
Since: 2018.6