Skip to content

Commit 850b8a0

Browse files
committed
[tool] Improve global filesystem and symlink robustness on Windows, macOS, and Linux
Wrap missing async and read methods inside ErrorHandlingFileSystem to catch and throw clean ToolExit. Map POSIX enoent (2), Windows kFileNotFound (2) and kPathNotFound (3) to ToolExit suggesting flutter clean. Implement exponential backoff retry loop for Windows transient locks (5, 32, 33, 1224). Make deleteIfExists type-agnostic and robust to broken symlinks. Fixes flutter#186959 TAG=agy CONV=c78f1569-c7a1-480f-b5a9-5ef1150b0e80
1 parent f987372 commit 850b8a0

2 files changed

Lines changed: 778 additions & 66 deletions

File tree

0 commit comments

Comments
 (0)