Commit 9b6deeb
committed
fix: support Windows paths in whiteout handlers
Refactor isWhitedOutFile to use cross-platform path.basename and update removeWhiteoutPrefix regex to support both POSIX and Windows path separators. This resolves a regression introduced by the initial whiteout regex fix where Windows-style paths would not be correctly identified or parsed.1 parent f46d29b commit 9b6deeb
1 file changed
+5
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
| 269 | + | |
| 270 | + | |
280 | 271 | | |
281 | 272 | | |
282 | 273 | | |
283 | 274 | | |
284 | 275 | | |
285 | 276 | | |
286 | | - | |
287 | | - | |
288 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
289 | 280 | | |
290 | 281 | | |
291 | 282 | | |
| |||
0 commit comments