Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Represents a blob stream object.
Synopsis
- newtype BlobOutputStream = BlobOutputStream (ManagedPtr BlobOutputStream)
- class (GObject o, IsDescendantOf BlobOutputStream o) => IsBlobOutputStream o
- toBlobOutputStream :: (MonadIO m, IsBlobOutputStream o) => o -> m BlobOutputStream
- blobOutputStreamGetId :: (HasCallStack, MonadIO m, IsBlobOutputStream a) => a -> m (Maybe OId)
- constructBlobOutputStreamRepository :: (IsBlobOutputStream o, MonadIO m, IsRepository a) => a -> m (GValueConstruct o)
Exported types
newtype BlobOutputStream Source #
Memory-managed wrapper type.
BlobOutputStream (ManagedPtr BlobOutputStream) |
Instances
Eq BlobOutputStream Source # | |
Defined in GI.Ggit.Objects.BlobOutputStream (==) :: BlobOutputStream -> BlobOutputStream -> Bool # (/=) :: BlobOutputStream -> BlobOutputStream -> Bool # | |
GObject BlobOutputStream Source # | |
Defined in GI.Ggit.Objects.BlobOutputStream | |
ManagedPtrNewtype BlobOutputStream Source # | |
Defined in GI.Ggit.Objects.BlobOutputStream toManagedPtr :: BlobOutputStream -> ManagedPtr BlobOutputStream | |
TypedObject BlobOutputStream Source # | |
Defined in GI.Ggit.Objects.BlobOutputStream | |
HasParentTypes BlobOutputStream Source # | |
Defined in GI.Ggit.Objects.BlobOutputStream | |
IsGValue (Maybe BlobOutputStream) Source # | Convert |
Defined in GI.Ggit.Objects.BlobOutputStream gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe BlobOutputStream -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe BlobOutputStream) | |
type ParentTypes BlobOutputStream Source # | |
Defined in GI.Ggit.Objects.BlobOutputStream |
class (GObject o, IsDescendantOf BlobOutputStream o) => IsBlobOutputStream o Source #
Type class for types which can be safely cast to BlobOutputStream
, for instance with toBlobOutputStream
.
Instances
(GObject o, IsDescendantOf BlobOutputStream o) => IsBlobOutputStream o Source # | |
Defined in GI.Ggit.Objects.BlobOutputStream |
toBlobOutputStream :: (MonadIO m, IsBlobOutputStream o) => o -> m BlobOutputStream Source #
Cast to BlobOutputStream
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, clearPending, close, closeAsync, closeFinish, flush, flushAsync, flushFinish, forceFloating, freezeNotify, getv, hasPending, isClosed, isClosing, isFloating, notify, notifyByPspec, ref, refSink, runDispose, splice, spliceAsync, spliceFinish, stealData, stealQdata, thawNotify, unref, watchClosure, write, writeAll, writeAllAsync, writeAllFinish, writeAsync, writeBytes, writeBytesAsync, writeBytesFinish, writeFinish, writev, writevAll, writevAllAsync, writevAllFinish, writevAsync, writevFinish.
Getters
getData, getId, getProperty, getQdata.
Setters
getId
blobOutputStreamGetId Source #
:: (HasCallStack, MonadIO m, IsBlobOutputStream a) | |
=> a |
|
-> m (Maybe OId) |
Get the id of the written blob. The blob id is only available after the
stream has been properly closed. If an error occurred while writing the blob,
the Nothing
is returned and error
is set accordingly.
Properties
repository
No description available in the introspection data.
constructBlobOutputStreamRepository :: (IsBlobOutputStream o, MonadIO m, IsRepository a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “repository
” property. This is rarely needed directly, but it is used by new
.