Method: Rugged::TagCollection#each_name
- Defined in:
- ext/rugged/rugged_tag_collection.c
#each_name([pattern]) {|name| ... } ⇒ nil #each_name([pattern]) ⇒ Object
Iterate through all the tag names in repo
. Iteration can be optionally filtered to the ones matching the given pattern
, a standard Unix filename glob.
If pattern
is empty or not given, all tag names will be returned.
The given block will be called once with the name for each tag.
If no block is given, an enumerator will be returned.
286 287 288 289 |
# File 'ext/rugged/rugged_tag_collection.c', line 286
static VALUE rb_git_tag_collection_each_name(int argc, VALUE *argv, VALUE self)
{
return each_tag(argc, argv, self, 1);
}
|