mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-10 11:10:18 +02:00
21 lines
299 B
Go
21 lines
299 B
Go
package commands
|
|
|
|
// Remote : A git remote
|
|
type Remote struct {
|
|
Name string
|
|
Urls []string
|
|
Branches []*RemoteBranch
|
|
}
|
|
|
|
func (r *Remote) RefName() string {
|
|
return r.Name
|
|
}
|
|
|
|
func (r *Remote) ID() string {
|
|
return r.RefName()
|
|
}
|
|
|
|
func (r *Remote) Description() string {
|
|
return r.RefName()
|
|
}
|