View definition

type TagForeachCallback

Defined in github.com/libgit2/git2go/tag.go

Description

TagForeachCallback is called for each tag in the repository.

The name is the full ref name eg: "refs/tags/v1.0.0".

Note that the callback is called for lightweight tags as well, so repo.LookupTag() will return an error for these tags. Use repo.References.Lookup() instead.

TagForeachCallback is referenced in 1 repository

github.com/libgit2/git2go