MCPcopy
hub / github.com/vercel/next-forge / cleanFileName

Function cleanFileName

scripts/utils.ts:7–8  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

5export const url = "https://github.com/vercel/next-forge";
6
7export const cleanFileName = (file: string) =>
8 file.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\\/g, "/");
9
10export const shellOption = process.platform === "win32";
11

Callers 1

getDiffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected