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

Function isOfficialRepo

src/utils/plugins/fetchTelemetry.ts:75–77  ·  view source on GitHub ↗

* True if the URL/spec points at anthropics/claude-plugins-official — the * repo GitHub complained about. Lets the dashboard separate "our problem" * traffic from user-configured marketplaces.

(urlOrSpec: string)

Source from the content-addressed store, hash-verified

73 * traffic from user-configured marketplaces.
74 */
75function isOfficialRepo(urlOrSpec: string): boolean {
76 return urlOrSpec.includes(`anthropics/${OFFICIAL_MARKETPLACE_NAME}`)
77}
78
79export function logPluginFetch(
80 source: PluginFetchSource,

Callers 1

logPluginFetchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected