MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / normalizeGitHubRepositoryUrl

Function normalizeGitHubRepositoryUrl

shared/github-repository-url.ts:83–86  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

81}
82
83export function normalizeGitHubRepositoryUrl(input: string) {
84 const link = parseGitHubRepositoryUrl(input)
85 return link?.canonicalUrl ?? null
86}
87
88export function isSameGitHubRepository(
89 left: string | null | undefined,

Callers 1

isSameGitHubRepositoryFunction · 0.85

Calls 1

parseGitHubRepositoryUrlFunction · 0.85

Tested by

no test coverage detected