MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / IsEnabled

Method IsEnabled

internal/repoconfig/repoconfig.go:70–75  ·  view source on GitHub ↗

IsEnabled returns true when the entry is enabled (default true).

()

Source from the content-addressed store, hash-verified

68
69// IsEnabled returns true when the entry is enabled (default true).
70func (r RepoEntry) IsEnabled() bool {
71 if r.Enabled == nil {
72 return true
73 }
74 return *r.Enabled
75}
76
77// EffectiveOwner returns the owner, preferring RepoOwner for plugin entries.
78func (r RepoEntry) EffectiveOwner() string {

Callers 2

TestRepoEntryIsEnabledFunction · 0.45
LoadEnabledFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestRepoEntryIsEnabledFunction · 0.36