1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg/commands/models/remote.go

21 lines
297 B
Go
Raw Normal View History

2020-09-29 10:41:06 +02:00
package models
2019-11-13 14:18:29 +02:00
// Remote : A git remote
type Remote struct {
Name string
Urls []string
2019-11-17 01:23:06 +02:00
Branches []*RemoteBranch
2019-11-13 14:18:29 +02:00
}
2020-08-19 14:57:22 +02: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()
}