mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02:00
19 lines
236 B
Go
19 lines
236 B
Go
package commands
|
|
|
|
// Tag : A git tag
|
|
type Tag struct {
|
|
Name string
|
|
}
|
|
|
|
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
|
|
}
|