1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg/commands/models/submodule_config.go

20 lines
285 B
Go
Raw Normal View History

2020-09-29 10:45:00 +02:00
package models
2020-09-28 01:14:32 +02:00
type SubmoduleConfig struct {
Name string
Path string
Url string
}
2020-09-30 00:27:23 +02:00
func (r *SubmoduleConfig) RefName() string {
return r.Name
}
func (r *SubmoduleConfig) ID() string {
return r.RefName()
}
func (r *SubmoduleConfig) Description() string {
return r.RefName()
}