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

Function isRelativeUrl

packages/core/src/compiler/htmlBundler.ts:77–79  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

75}
76
77function isRelativeUrl(url: string): boolean {
78 return !isNonRelativeUrl(url) && !isAbsolute(url);
79}
80
81function safeReadFile(filePath: string): string | null {
82 if (!existsSync(filePath)) return null;

Callers 4

rebaseCssUrlsFunction · 0.85
inlineCssFileFunction · 0.85
bundleToSingleHtmlFunction · 0.85

Calls 1

isNonRelativeUrlFunction · 0.85

Tested by

no test coverage detected