mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-30 09:16:47 +02:00
16 lines
294 B
Go
16 lines
294 B
Go
package commands
|
|
|
|
// Remote : A git remote
|
|
type Remote struct {
|
|
Name string
|
|
Urls []string
|
|
Selected bool
|
|
Branches []*RemoteBranch
|
|
}
|
|
|
|
// GetDisplayStrings returns the display string of a remote
|
|
func (r *Remote) GetDisplayStrings(isFocused bool) []string {
|
|
|
|
return []string{r.Name}
|
|
}
|