Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
205
export
const
isWindowsPath = (path: string) => /^[A-Za-z]:/.test(path);
Callers
2
fixDriveLetter
Function · 0.85
fixDriveLetterAndSlashes
Function · 0.85
Calls
1
test
Method · 0.45
Tested by
no test coverage detected