MCPcopy
hub / github.com/microsoft/vscode-js-debug / isWindowsPath

Function isWindowsPath

src/common/pathUtils.ts:259–259  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

257 * Returns whether the path looks like a Windows path.
258 */
259export const isWindowsPath = (path: string) => /^[A-Za-z]:/.test(path) || isUncPath(path);

Callers 3

shouldResolveSourceMapFunction · 0.90
fixDriveLetterFunction · 0.85
fixDriveLetterAndSlashesFunction · 0.85

Calls 2

isUncPathFunction · 0.85
testMethod · 0.80

Tested by

no test coverage detected