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

Function isLocalMarketplaceSource

src/utils/plugins/schemas.ts:1236–1240  ·  view source on GitHub ↗
(
  source: MarketplaceSource,
)

Source from the content-addressed store, hash-verified

1234 * per-plugin source inside a marketplace entry) and checks for `./` prefix.
1235 */
1236export function isLocalMarketplaceSource(
1237 source: MarketplaceSource,
1238): source is Extract<MarketplaceSource, { source: 'file' | 'directory' }> {
1239 return source.source === 'file' || source.source === 'directory'
1240}
1241
1242/**
1243 * Schema for individual plugin entries in a marketplace

Callers 5

loadAndCacheMarketplaceFunction · 0.85
addMarketplaceSourceFunction · 0.85
refreshMarketplaceFunction · 0.85
reconcileMarketplacesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected