()
| 61 | } |
| 62 | |
| 63 | func (c *Config) openAdminRepo() (*git.Repository, error) { |
| 64 | adminRepo, err := git.EnsureRepo(c.fs, "admin/admin") |
| 65 | if err != nil { |
| 66 | return nil, err |
| 67 | } |
| 68 | |
| 69 | err = adminRepo.Checkout(c.adminRepoHash) |
| 70 | if err != nil { |
| 71 | return nil, err |
| 72 | } |
| 73 | |
| 74 | return adminRepo, nil |
| 75 | } |
| 76 | |
| 77 | func (c *Config) loadConfig(adminRepo *git.Repository) error { |
| 78 | // Load config |
no test coverage detected