1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-20 05:19:24 +02:00

21 lines
297 B
Go
Raw Normal View History

2020-09-29 18:41:06 +10:00
package models
2019-11-13 23:18:29 +11:00
// Remote : A git remote
type Remote struct {
Name string
Urls []string
2019-11-17 10:23:06 +11:00
Branches []*RemoteBranch
2019-11-13 23:18:29 +11:00
}
2020-08-19 22:57:22 +10:00
func (r *Remote) RefName() string {
return r.Name
}
func (r *Remote) ID() string {
return r.RefName()
}
func (r *Remote) Description() string {
return r.RefName()
}