MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / isKnownGitProvider

Function isKnownGitProvider

shared/utils/git-providers.ts:370–372  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

368}
369
370export function isKnownGitProvider(url: string): boolean {
371 return parseRepoUrl(url) !== null
372}
373
374/**
375 * API origins used by each provider for client-side repo metadata fetches.

Callers

nothing calls this directly

Calls 1

parseRepoUrlFunction · 0.85

Tested by

no test coverage detected