MCPcopy Create free account
hub / github.com/gotify/server / pluginConfExists

Method pluginConfExists

plugin/manager.go:111–114  ·  view source on GitHub ↗
(token string)

Source from the content-addressed store, hash-verified

109}
110
111func (m *Manager) pluginConfExists(token string) bool {
112 pluginConf, _ := m.db.GetPluginConfByToken(token)
113 return pluginConf != nil
114}
115
116// SetPluginEnabled sets the plugins enabled state.
117func (m *Manager) SetPluginEnabled(pluginID uint, enabled bool) error {

Callers

nothing calls this directly

Calls 1

GetPluginConfByTokenMethod · 0.65

Tested by

no test coverage detected