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

Function canMapPath

valdi/vscode_debugger/src/targets/sourcePathResolver.ts:144–148  ·  view source on GitHub ↗
(candidate: string)

Source from the content-addressed store, hash-verified

142 }
143
144 private canMapPath(candidate: string) {
145 return (
146 path.posix.isAbsolute(candidate) || path.win32.isAbsolute(candidate) || isFileUrl(candidate)
147 );
148 }
149}

Callers

nothing calls this directly

Calls 2

isFileUrlFunction · 0.90
isAbsoluteMethod · 0.80

Tested by

no test coverage detected