class
Agate::Tag
- Agate::Tag
- Reference
- Object
Overview
An annotated tag object in git.
Defined in:
agate/tag.crConstructors
-
.lookup(repo : Repository, oid : OID) : Tag
Looks up an annotated tag by OID.
Class Method Summary
-
.lookup?(repo : Repository, oid : OID) : Tag | Nil
Looks up an annotated tag by OID, returning nil if not found.
Instance Method Summary
-
#message : String | Nil
Returns the tag message, or nil.
-
#name : String
Returns the tag name.
-
#oid : OID
Returns the OID of this tag object.
-
#tagger : Signature | Nil
Returns the tagger signature, or nil.
-
#target_id : OID
Returns the OID of the tagged object.
-
#target_type : Object::Type
Returns the type of the tagged object.
Constructor Detail
Looks up an annotated tag by OID. Raises on failure.
Class Method Detail
Looks up an annotated tag by OID, returning nil if not found.