MCPcopy
hub / github.com/apache/answer / IsEnabled

Method IsEnabled

plugin/plugin.go:204–209  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

202}
203
204func (m *statusManager) IsEnabled(name string) bool {
205 if status, ok := m.status[name]; ok {
206 return status
207 }
208 return false
209}
210
211// MarshalJSON implements the json.Marshaler interface.
212func (m *statusManager) MarshalJSON() ([]byte, error) {

Callers 1

MakePluginFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected