(path: string, text: string)
| 184 | |
| 185 | // left as it is where unchanged, so Turbopack's cache keeps what read it |
| 186 | const writeChanged = (path: string, text: string) => { |
| 187 | if (existsSync(path) && readFileSync(path, "utf8") === text) return |
| 188 | writeFileSync(path, text) |
| 189 | } |
| 190 | |
| 191 | // what an earlier build's read wrote that this one's doesn't |
| 192 | const removeAllBut = (dir: string, kept: Set<string>) => { |
no outgoing calls
no test coverage detected