1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-23 16:22:24 +03:00
Files
lazygit/pkg/commands/remote.go
Jesse Duffield 092f27495a add remote model
2019-11-21 22:07:14 +11:00

15 lines
268 B
Go

package commands
// Remote : A git remote
type Remote struct {
Name string
Urls []string
Selected bool
}
// GetDisplayStrings returns the display string of a remote
func (r *Remote) GetDisplayStrings(isFocused bool) []string {
return []string{r.Name}
}