diff options
Diffstat (limited to 'pkg/commands/models/remote.go')
-rw-r--r-- | pkg/commands/models/remote.go | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkg/commands/models/remote.go b/pkg/commands/models/remote.go new file mode 100644 index 000000000..42ebe16ab --- /dev/null +++ b/pkg/commands/models/remote.go @@ -0,0 +1,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() +} |