MCPcopy Create free account
hub / github.com/belak/gitdir / EnsureConfig

Method EnsureConfig

config.go:98–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96}
97
98func (c *Config) EnsureConfig() error {
99 adminRepo, err := c.openAdminRepo()
100 if err != nil {
101 return err
102 }
103
104 return c.ensureConfig(adminRepo)
105}
106
107func (c *Config) ensureConfig(adminRepo *git.Repository) error {
108 // Ensure config

Callers 2

EnsureAdminUserMethod · 0.95
ReloadMethod · 0.95

Calls 2

openAdminRepoMethod · 0.95
ensureConfigMethod · 0.95

Tested by

no test coverage detected