(repo *git.Repository)
| 6 | ) |
| 7 | |
| 8 | func (c *Config) ensureAdminConfig(repo *git.Repository) error { |
| 9 | return newMultiError( |
| 10 | c.ensureAdminConfigYaml(repo), |
| 11 | c.ensureAdminEd25519Key(repo), |
| 12 | c.ensureAdminRSAKey(repo), |
| 13 | ) |
| 14 | } |
| 15 | |
| 16 | func (c *Config) ensureAdminConfigYaml(repo *git.Repository) error { |
| 17 | return repo.UpdateFile("config.yml", ensureSampleConfig) |
no test coverage detected