gi-ostree-1.0.18: OSTree bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.OSTree.Objects.ContentWriter

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ContentWriter Source #

Memory-managed wrapper type.

Constructors

ContentWriter (ManagedPtr ContentWriter) 

Instances

Instances details
Eq ContentWriter Source # 
Instance details

Defined in GI.OSTree.Objects.ContentWriter

GObject ContentWriter Source # 
Instance details

Defined in GI.OSTree.Objects.ContentWriter

ManagedPtrNewtype ContentWriter Source # 
Instance details

Defined in GI.OSTree.Objects.ContentWriter

Methods

toManagedPtr :: ContentWriter -> ManagedPtr ContentWriter

TypedObject ContentWriter Source # 
Instance details

Defined in GI.OSTree.Objects.ContentWriter

Methods

glibType :: IO GType

HasParentTypes ContentWriter Source # 
Instance details

Defined in GI.OSTree.Objects.ContentWriter

IsGValue (Maybe ContentWriter) Source #

Convert ContentWriter to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.OSTree.Objects.ContentWriter

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe ContentWriter -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe ContentWriter)

type ParentTypes ContentWriter Source # 
Instance details

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

Instances details
(GObject o, IsDescendantOf ContentWriter o) => IsContentWriter o Source # 
Instance details

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

finish

contentWriterFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsContentWriter a, IsCancellable b) 
=> a

self: Writer

-> Maybe b

cancellable: Cancellable

-> m Text

Returns: Checksum, or Nothing on error (Can throw GError)

Complete the object write and return the checksum.