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

Function NewUserConfig

models/user_config.go:16–20  ·  view source on GitHub ↗

NewUserConfig returns a new, empty UserConfig.

()

Source from the content-addressed store, hash-verified

14
15// NewUserConfig returns a new, empty UserConfig.
16func NewUserConfig() *UserConfig {
17 return &UserConfig{
18 Repos: make(map[string]*RepoConfig),
19 }
20}
21
22// ParseUserConfig will return an UserConfig parsed from the given data. No
23// additional validation is done.

Callers 2

ParseUserConfigFunction · 0.85
NewAdminConfigUserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected