MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isLocalPluginSource

Function isLocalPluginSource

source code/utils/plugins/schemas.ts:1223–1225  ·  view source on GitHub ↗
(source: PluginSource)

Source from the content-addressed store, hash-verified

1221 * @returns true if the source is a local path, false if it's an external source
1222 */
1223export function isLocalPluginSource(source: PluginSource): source is string {
1224 return typeof source === 'string' && source.startsWith('./')
1225}
1226
1227/**
1228 * Whether a marketplace source points at a user-controlled local filesystem path.

Callers 2

installSelectedPluginsFunction · 0.85
installResolvedPluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected