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 |
Represents a git proxy options.
Synopsis
- newtype ProxyOptions = ProxyOptions (ManagedPtr ProxyOptions)
- class GObject o => IsProxyOptions o
- toProxyOptions :: (MonadIO m, IsProxyOptions o) => o -> m ProxyOptions
- noProxyOptions :: Maybe ProxyOptions
- proxyOptionsNew :: (HasCallStack, MonadIO m) => m (Maybe ProxyOptions)
Exported types
newtype ProxyOptions Source #
Memory-managed wrapper type.
Instances
GObject ProxyOptions Source # | |
Defined in GI.Ggit.Objects.ProxyOptions gobjectType :: ProxyOptions -> IO GType # | |
IsObject ProxyOptions Source # | |
Defined in GI.Ggit.Objects.ProxyOptions | |
IsProxyOptions ProxyOptions Source # | |
Defined in GI.Ggit.Objects.ProxyOptions |
class GObject o => IsProxyOptions o Source #
Type class for types which can be safely cast to ProxyOptions
, for instance with toProxyOptions
.
Instances
(GObject a, (UnknownAncestorError ProxyOptions a :: Constraint)) => IsProxyOptions a Source # | |
Defined in GI.Ggit.Objects.ProxyOptions | |
IsProxyOptions ProxyOptions Source # | |
Defined in GI.Ggit.Objects.ProxyOptions |
toProxyOptions :: (MonadIO m, IsProxyOptions o) => o -> m ProxyOptions Source #
Cast to ProxyOptions
, for types for which this is known to be safe. For general casts, use castTo
.
noProxyOptions :: Maybe ProxyOptions Source #
A convenience alias for Nothing
:: Maybe
ProxyOptions
.
Methods
new
:: (HasCallStack, MonadIO m) | |
=> m (Maybe ProxyOptions) | Returns: a |
Create a new proxy options object.