summaryrefslogtreecommitdiffstats
path: root/pkg/commands/models/remote.go
blob: 42ebe16ab83c0a20cf449ae3883aa89478d627bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package models

// 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()
}