1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-26 05:37:18 +02:00

19 lines
236 B
Go
Raw Normal View History

2019-11-18 09:38:36 +11:00
package commands
// Tag : A git tag
type Tag struct {
Name string
}
2020-08-19 22:57:22 +10:00
func (t *Tag) RefName() string {
return t.Name
}
func (t *Tag) ID() string {
return t.RefName()
}
func (t *Tag) Description() string {
return "tag " + t.Name
}