mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02:00
add remote model
This commit is contained in:
14
pkg/commands/remote.go
Normal file
14
pkg/commands/remote.go
Normal file
@@ -0,0 +1,14 @@
|
||||
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}
|
||||
}
|
||||
Reference in New Issue
Block a user