Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Represents a blob object.
Exported types
Memory-managed wrapper type.
Instances
Eq Blob Source # | |
GObject Blob Source # | |
Defined in GI.Ggit.Objects.Blob | |
ManagedPtrNewtype Blob Source # | |
Defined in GI.Ggit.Objects.Blob toManagedPtr :: Blob -> ManagedPtr Blob | |
TypedObject Blob Source # | |
Defined in GI.Ggit.Objects.Blob glibType :: IO GType | |
IsGValue Blob Source # | Convert |
Defined in GI.Ggit.Objects.Blob fromGValue :: GValue -> IO Blob | |
HasParentTypes Blob Source # | |
Defined in GI.Ggit.Objects.Blob | |
type ParentTypes Blob Source # | |
Defined in GI.Ggit.Objects.Blob |
class (GObject o, IsDescendantOf Blob o) => IsBlob o Source #
Instances
(GObject o, IsDescendantOf Blob o) => IsBlob o Source # | |
Defined in GI.Ggit.Objects.Blob |
Methods
Overloaded methods
getRawContent
:: (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.