Load will load the config from the given fs.
()
| 52 | |
| 53 | // Load will load the config from the given fs. |
| 54 | func (c *Config) Load() error { |
| 55 | adminRepo, err := c.openAdminRepo() |
| 56 | if err != nil { |
| 57 | return err |
| 58 | } |
| 59 | |
| 60 | return c.loadConfig(adminRepo) |
| 61 | } |
| 62 | |
| 63 | func (c *Config) openAdminRepo() (*git.Repository, error) { |
| 64 | adminRepo, err := git.EnsureRepo(c.fs, "admin/admin") |
no test coverage detected