| 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 |
GI.Ggit.Objects.Blob
Description
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 Methods toManagedPtr :: Blob -> ManagedPtr Blob | |
| TypedObject Blob Source # | |
Defined in GI.Ggit.Objects.Blob Methods glibType :: IO GType | |
| IsGValue Blob Source # | Convert |
Defined in GI.Ggit.Objects.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
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.