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

Function isWindowsFileUri

src/common/pathUtils.ts:164–165  ·  view source on GitHub ↗
(aPath: string)

Source from the content-addressed store, hash-verified

162const fileUriPrefix = 'file:///';
163
164const isWindowsFileUri = (aPath: string) =>
165 aPath.startsWith(fileUriPrefix) && aPath[fileUriPrefix.length + 1] === ':';
166
167export const properSplit = (path: string) => path.split(splitRe);
168

Callers 2

fixDriveLetterFunction · 0.85
fixDriveLetterAndSlashesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected