| 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.Tag
Description
Represents a tag object.
- newtype Tag = Tag (ManagedPtr Tag)
- class GObject o => IsTag o
- toTag :: (MonadIO m, IsTag o) => o -> m Tag
- noTag :: Maybe Tag
- tagGetMessage :: (HasCallStack, MonadIO m, IsTag a) => a -> m Text
- tagGetName :: (HasCallStack, MonadIO m, IsTag a) => a -> m Text
- tagGetTagger :: (HasCallStack, MonadIO m, IsTag a) => a -> m Signature
- tagGetTarget :: (HasCallStack, MonadIO m, IsTag a) => a -> m Object
- tagGetTargetId :: (HasCallStack, MonadIO m, IsTag a) => a -> m OId
- tagGetTargetType :: (HasCallStack, MonadIO m, IsTag a) => a -> m GType
- tagPeel :: (HasCallStack, MonadIO m, IsTag a) => a -> m Object
Exported types
Constructors
| Tag (ManagedPtr Tag) |
Methods
getMessage
Arguments
| :: (HasCallStack, MonadIO m, IsTag a) | |
| => a |
|
| -> m Text | Returns: the message of the tag. |
Gets the message of tag.
getName
Arguments
| :: (HasCallStack, MonadIO m, IsTag a) | |
| => a |
|
| -> m Text | Returns: the name of the tag. |
Gets the name of tag.
getTagger
Arguments
| :: (HasCallStack, MonadIO m, IsTag a) | |
| => a |
|
| -> m Signature | Returns: the tagger (author) of the tag. |
Get the tagger (author) of tag. The returned value must be free with
objectUnref.
getTarget
Arguments
| :: (HasCallStack, MonadIO m, IsTag a) | |
| => a |
|
| -> m Object |
Gets the target Object of tag.
This method performs a repository lookup for the given object and returns it.
getTargetId
Arguments
| :: (HasCallStack, MonadIO m, IsTag a) | |
| => a |
|
| -> m OId | Returns: the target |
Gets the target OId of tag.
getTargetType
Get the target object type.