mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-05 00:59:19 +02:00
17 lines
236 B
Go
17 lines
236 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()
|
|
}
|