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 |
GI.Ggit.Objects.Blob
Description
Represents a blob object.
Exported types
Memory-managed wrapper type.
Instances
GObject Blob Source # | |
Defined in GI.Ggit.Objects.Blob Methods gobjectType :: Blob -> IO GType | |
IsBlob Blob Source # | |
Defined in GI.Ggit.Objects.Blob | |
IsObject Blob Source # | |
Defined in GI.Ggit.Objects.Blob | |
IsNative Blob Source # | |
Defined in GI.Ggit.Objects.Blob | |
IsObject Blob Source # | |
Defined in GI.Ggit.Objects.Blob | |
IsObjectFactoryBase Blob Source # | |
Defined in GI.Ggit.Objects.Blob |
class GObject o => IsBlob o Source #
Instances
(GObject a, (UnknownAncestorError Blob a :: Constraint)) => IsBlob a Source # | |
Defined in GI.Ggit.Objects.Blob | |
IsBlob Blob Source # | |
Defined in GI.Ggit.Objects.Blob |
Methods
getRawContent
Arguments
:: (HasCallStack, MonadIO m, IsBlob a) | |
=> a |
|
-> m (Maybe ByteString) | Returns: the blob content or
|
Gets a read-only buffer with the raw contents of blob
.
A pointer to the raw contents of blob
is returned.
This pointer is owned internally by object
and must
not be free'd. The pointer may be invalidated at a later
time.