Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ isRelativePath
Function
isRelativePath
test/harness/runner/RunnerHelpers.js:33–33 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
31
* @returns {boolean} whether path is a relative path
32
*/
33
const
isRelativePath = (path) => /^\.\.?\
//.test(path);
34
35
/**
36
* @param {string} url url
Callers
1
_resolveModule
Method · 0.85
Calls
1
test
Method · 0.45
Tested by
no test coverage detected