Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype ContentWriter = ContentWriter (ManagedPtr ContentWriter)
- class (GObject o, IsDescendantOf ContentWriter o) => IsContentWriter o
- toContentWriter :: (MonadIO m, IsContentWriter o) => o -> m ContentWriter
- contentWriterFinish :: (HasCallStack, MonadIO m, IsContentWriter a, IsCancellable b) => a -> Maybe b -> m Text
Exported types
newtype ContentWriter Source #
Memory-managed wrapper type.
ContentWriter (ManagedPtr ContentWriter) |
Instances
Eq ContentWriter Source # | |
Defined in GI.OSTree.Objects.ContentWriter (==) :: ContentWriter -> ContentWriter -> Bool # (/=) :: ContentWriter -> ContentWriter -> Bool # | |
GObject ContentWriter Source # | |
Defined in GI.OSTree.Objects.ContentWriter | |
ManagedPtrNewtype ContentWriter Source # | |
Defined in GI.OSTree.Objects.ContentWriter toManagedPtr :: ContentWriter -> ManagedPtr ContentWriter | |
TypedObject ContentWriter Source # | |
Defined in GI.OSTree.Objects.ContentWriter | |
HasParentTypes ContentWriter Source # | |
Defined in GI.OSTree.Objects.ContentWriter | |
IsGValue (Maybe ContentWriter) Source # | Convert |
Defined in GI.OSTree.Objects.ContentWriter gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ContentWriter -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ContentWriter) | |
type ParentTypes ContentWriter Source # | |
Defined in GI.OSTree.Objects.ContentWriter type ParentTypes ContentWriter = '[OutputStream, Object] |
class (GObject o, IsDescendantOf ContentWriter o) => IsContentWriter o Source #
Type class for types which can be safely cast to ContentWriter
, for instance with toContentWriter
.
Instances
(GObject o, IsDescendantOf ContentWriter o) => IsContentWriter o Source # | |
Defined in GI.OSTree.Objects.ContentWriter |
toContentWriter :: (MonadIO m, IsContentWriter o) => o -> m ContentWriter Source #
Cast to ContentWriter
, 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, finish, 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, getProperty, getQdata.
Setters
finish
:: (HasCallStack, MonadIO m, IsContentWriter a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> m Text |
Complete the object write and return the checksum.