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

Function settingSourceToScope

src/utils/plugins/pluginIdentifier.ts:119–123  ·  view source on GitHub ↗
(
  source: EditableSettingSource,
)

Source from the content-addressed store, hash-verified

117 * @returns The corresponding plugin scope
118 */
119export function settingSourceToScope(
120 source: EditableSettingSource,
121): Exclude<PluginScope, 'managed'> {
122 return SETTING_SOURCE_TO_SCOPE[source] as Exclude<PluginScope, 'managed'>
123}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected