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

Function removePrivatePrefix

valdi/vscode_debugger/src/test/test.ts:54–55  ·  view source on GitHub ↗
(folder: string)

Source from the content-addressed store, hash-verified

52 * the prefix, which causes mismatch.
53 */
54export const removePrivatePrefix = (folder: string) =>
55 process.platform === 'darwin' ? folder.replace(/^\/private/, '') : folder;
56
57class Stream extends stream.Duplex {
58 _write(chunk: any, encoding: string, callback: (err?: Error) => void): void {

Callers 1

pickAttach.test.tsFile · 0.90

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected