MCPcopy Index your code
hub / github.com/nodejs/node / isWindowsDeviceRoot

Function isWindowsDeviceRoot

lib/path.js:86–89  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

84}
85
86function isWindowsDeviceRoot(code) {
87 return (code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z) ||
88 (code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z);
89}
90
91// Resolves . and .. elements in a path with directory names
92function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {

Callers 8

resolveFunction · 0.85
normalizeFunction · 0.85
isAbsoluteFunction · 0.85
toNamespacedPathFunction · 0.85
dirnameFunction · 0.85
basenameFunction · 0.85
extnameFunction · 0.85
parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…