MCPcopy
hub / github.com/rollup/rollup / isRelative

Function isRelative

browser/src/path.ts:11–13  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

9}
10
11export function isRelative(path: string): boolean {
12 return RELATIVE_PATH_REGEX.test(path);
13}
14
15export function normalize(path: string): string {
16 return path.replace(ALL_BACKSLASHES_REGEX, '/');

Callers

nothing calls this directly

Calls 1

testMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…