MCPcopy Create free account
hub / github.com/Snapchat/Valdi / isWindowsPath

Function isWindowsPath

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

Source from the content-addressed store, hash-verified

203 * Returns whether the path looks like a Windows path.
204 */
205export const isWindowsPath = (path: string) => /^[A-Za-z]:/.test(path);

Callers 2

fixDriveLetterFunction · 0.85
fixDriveLetterAndSlashesFunction · 0.85

Calls 1

testMethod · 0.45

Tested by

no test coverage detected