mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02:00
20 lines
285 B
Go
20 lines
285 B
Go
package models
|
|
|
|
type SubmoduleConfig struct {
|
|
Name string
|
|
Path string
|
|
Url string
|
|
}
|
|
|
|
func (r *SubmoduleConfig) RefName() string {
|
|
return r.Name
|
|
}
|
|
|
|
func (r *SubmoduleConfig) ID() string {
|
|
return r.RefName()
|
|
}
|
|
|
|
func (r *SubmoduleConfig) Description() string {
|
|
return r.RefName()
|
|
}
|