gi-ostree-1.0.15: 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

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.