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

Struct UserConfig

models/user_config.go:10–13  ·  view source on GitHub ↗

UserConfig represents the values under users in the main admin config or the contents of the config file in the user config repo. This type contains values shared between the different config types.

Source from the content-addressed store, hash-verified

8// contents of the config file in the user config repo. This type contains
9// values shared between the different config types.
10type UserConfig struct {
11 Repos map[string]*RepoConfig `yaml:"repos"`
12 Keys []PublicKey `yaml:"keys"`
13}
14
15// NewUserConfig returns a new, empty UserConfig.
16func NewUserConfig() *UserConfig {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected