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

Function getMarketplaceJsonRelativePath

src/utils/plugins/zipCache.ts:384–389  ·  view source on GitHub ↗
(
  marketplaceName: string,
)

Source from the content-addressed store, hash-verified

382 * Format: marketplaces/{marketplace-name}.json
383 */
384export function getMarketplaceJsonRelativePath(
385 marketplaceName: string,
386): string {
387 const sanitized = marketplaceName.replace(/[^a-zA-Z0-9\-_]/g, '-')
388 return join('marketplaces', `${sanitized}.json`)
389}
390
391/**
392 * Check if a marketplace source type is supported by zip cache mode.

Callers 2

readMarketplaceJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected