class Agate::Tag

Overview

An annotated tag object in git.

Defined in:

agate/tag.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.lookup(repo : Repository, oid : OID) : Tag #

Looks up an annotated tag by OID. Raises on failure.


[View source]

Class Method Detail

def self.lookup?(repo : Repository, oid : OID) : Tag | Nil #

Looks up an annotated tag by OID, returning nil if not found.


[View source]

Instance Method Detail

def message : String | Nil #

Returns the tag message, or nil.


[View source]
def name : String #

Returns the tag name.


[View source]
def oid : OID #

Returns the OID of this tag object.


[View source]
def tagger : Signature | Nil #

Returns the tagger signature, or nil.


[View source]
def target_id : OID #

Returns the OID of the tagged object.


[View source]
def target_type : Object::Type #

Returns the type of the tagged object.


[View source]