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

Function NewOrgConfig

models/org_config.go:17–21  ·  view source on GitHub ↗

NewOrgConfig returns a new, empty OrgConfig.

()

Source from the content-addressed store, hash-verified

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

Callers 2

newTestConfigFunction · 0.92
ParseOrgConfigFunction · 0.85

Calls

no outgoing calls

Tested by 1

newTestConfigFunction · 0.74