1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-26 05:37:18 +02:00
lazygit/pkg/commands/models/submodule_config.go

20 lines
285 B
Go
Raw Normal View History

2020-09-29 18:45:00 +10:00
package models
2020-09-28 09:14:32 +10:00
type SubmoduleConfig struct {
Name string
Path string
Url string
}
2020-09-30 08:27:23 +10: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()
}