Commit c8e2da4
authored
test: add fallback to copy and delete for cross-device
* testL add fallback to copy and delete for cross-device `os.Rename` failures when moving binary files.
* refactor: use `mcnutils.CopyFile` for robust binary file copying.
* docs: Add comment explaining os.Rename fallback to copy for cross-device links.os.Rename fa… (#22556)1 parent b288555 commit c8e2da4
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
| 300 | + | |
| 301 | + | |
299 | 302 | | |
300 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
301 | 310 | | |
302 | 311 | | |
303 | 312 | | |
| |||
0 commit comments