class
Agate::TagCollection
- Agate::TagCollection
- Reference
- Object
Overview
A collection of tags in a repository.
Included Modules
- Enumerable(String)
Defined in:
agate/tag.crInstance Method Summary
-
#create(name : String, target : Object, tagger : Signature, message : String) : OID
Creates an annotated tag.
-
#create_lightweight(name : String, target : Object, force = false) : OID
Creates a lightweight tag (no tag object, just a reference).
-
#delete(name : String) : Nil
Deletes a tag by name.
-
#each(pattern : String, & : String -> ) : Nil
Lists tag names matching a pattern.
-
#each(& : String -> ) : Nil
Lists all tag names.
-
#exist?(name : String) : Bool
Returns true if a tag with the given name exists.
Instance Method Detail
Creates an annotated tag.
Creates a lightweight tag (no tag object, just a reference).