MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isLocalPluginSource

Function isLocalPluginSource

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

Source from the content-addressed store, hash-verified

1219 * @returns true if the source is a local path, false if it's an external source
1220 */
1221export function isLocalPluginSource(source: PluginSource): source is string {
1222 return typeof source === 'string' && source.startsWith('./')
1223}
1224
1225/**
1226 * 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