MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / cleanAssetUrl

Function cleanAssetUrl

packages/lint/src/project.ts:115–117  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

113}
114
115function cleanAssetUrl(url: string): string {
116 return url.trim().split(/[?#]/, 1)[0] ?? "";
117}
118
119function isWithinProjectRoot(projectDir: string, candidate: string): boolean {
120 const projectRoot = resolve(projectDir);

Callers 3

lintMissingLocalAssetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected