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

Function properSplit

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

Source from the content-addressed store, hash-verified

165 aPath.startsWith(fileUriPrefix) && aPath[fileUriPrefix.length + 1] === ':';
166
167export const properSplit = (path: string) => path.split(splitRe);
168
169export function fixDriveLetter(aPath: string, uppercaseDriveLetter = false): string {
170 if (!aPath) return aPath;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected