| 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.Tag
Description
Represents a tag object.
Synopsis
- newtype Tag = Tag (ManagedPtr Tag)
- class (GObject o, IsDescendantOf Tag o) => IsTag o
- toTag :: (MonadIO m, IsTag o) => o -> m Tag
- noTag :: Maybe Tag
- tagGetMessage :: (HasCallStack, MonadIO m, IsTag a) => a -> m (Maybe Text)
- tagGetName :: (HasCallStack, MonadIO m, IsTag a) => a -> m (Maybe Text)
- tagGetTagger :: (HasCallStack, MonadIO m, IsTag a) => a -> m (Maybe Signature)
- tagGetTarget :: (HasCallStack, MonadIO m, IsTag a) => a -> m (Maybe Object)
- tagGetTargetId :: (HasCallStack, MonadIO m, IsTag a) => a -> m (Maybe OId)
- tagGetTargetType :: (HasCallStack, MonadIO m, IsTag a) => a -> m GType
- tagPeel :: (HasCallStack, MonadIO m, IsTag a) => a -> m (Maybe Object)
Exported types
Memory-managed wrapper type.
Constructors
| Tag (ManagedPtr Tag) |
Instances
| Eq Tag Source # | |
| IsGValue Tag Source # | Convert |
| GObject Tag Source # | |
Defined in GI.Ggit.Objects.Tag Methods gobjectType :: IO GType # | |
| HasParentTypes Tag Source # | |
Defined in GI.Ggit.Objects.Tag | |
| type ParentTypes Tag Source # | |
Defined in GI.Ggit.Objects.Tag | |
class (GObject o, IsDescendantOf Tag o) => IsTag o Source #
Instances
| (GObject o, IsDescendantOf Tag o) => IsTag o Source # | |
Defined in GI.Ggit.Objects.Tag | |
Methods
Overloaded methods
getMessage
Arguments
| :: (HasCallStack, MonadIO m, IsTag a) | |
| => a |
|
| -> m (Maybe Text) | Returns: the message of the tag or |
Gets the message of tag.
getName
Arguments
| :: (HasCallStack, MonadIO m, IsTag a) | |
| => a |
|
| -> m (Maybe Text) | Returns: the name of the tag or |
Gets the name of tag.
getTagger
Arguments
| :: (HasCallStack, MonadIO m, IsTag a) | |
| => a |
|
| -> m (Maybe Signature) | Returns: the tagger (author) of the tag or |
Get the tagger (author) of tag. The returned value must be free with
objectUnref.
getTarget
Arguments
| :: (HasCallStack, MonadIO m, IsTag a) | |
| => a |
|
| -> m (Maybe Object) | Returns: the target |
Gets the target Object of tag.
This method performs a repository lookup for the given object and returns it.
getTargetId
Gets the target OId of tag.
getTargetType
Get the target object type.