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

Function isWindowsReservedName

lib/path.js:81–84  ·  view source on GitHub ↗
(path, colonIndex)

Source from the content-addressed store, hash-verified

79];
80
81function isWindowsReservedName(path, colonIndex) {
82 const devicePart = StringPrototypeToUpperCase(StringPrototypeSlice(path, 0, colonIndex));
83 return ArrayPrototypeIncludes(WINDOWS_RESERVED_NAMES, devicePart);
84}
85
86function isWindowsDeviceRoot(code) {
87 return (code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z) ||

Callers 2

normalizeFunction · 0.85
joinFunction · 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…