MCPcopy Create free account
hub / github.com/freecodexyz/free-code / isPersistableScope

Function isPersistableScope

src/utils/plugins/pluginStartupCheck.ts:170–174  ·  view source on GitHub ↗
(
  scope: ExtendedPluginScope,
)

Source from the content-addressed store, hash-verified

168 * @returns true if the scope should be persisted to installed_plugins.json
169 */
170export function isPersistableScope(
171 scope: ExtendedPluginScope,
172): scope is PersistablePluginScope {
173 return scope !== 'flag'
174}
175
176/**
177 * Convert SettingSource to plugin scope.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected