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 note object.
Exported types
Memory-managed wrapper type.
Instances
Eq Note Source # | |
GBoxed Note Source # | |
Defined in GI.Ggit.Structs.Note | |
ManagedPtrNewtype Note Source # | |
Defined in GI.Ggit.Structs.Note toManagedPtr :: Note -> ManagedPtr Note | |
TypedObject Note Source # | |
Defined in GI.Ggit.Structs.Note glibType :: IO GType | |
IsGValue Note Source # | Convert |
Defined in GI.Ggit.Structs.Note fromGValue :: GValue -> IO Note | |
HasParentTypes Note Source # | |
Defined in GI.Ggit.Structs.Note | |
type ParentTypes Note Source # | |
Defined in GI.Ggit.Structs.Note type ParentTypes Note = '[] :: [Type] |
Methods
Overloaded methods
getId
:: (HasCallStack, MonadIO m) | |
=> Note |
|
-> m (Maybe OId) | Returns: the object's id or |
Gets the note object's id.
getMessage
:: (HasCallStack, MonadIO m) | |
=> Note |
|
-> m (Maybe Text) | Returns: the note message or |
Gets the note message.
ref
Atomically increments the reference count of note
by one.
This function is MT-safe and may be called from any thread.