diff options
| author | Jieyou Xu <jieyouxu@outlook.com> | 2024-12-22 23:38:28 +0800 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-12-23 03:25:36 +0800 |
| commit | 98fdcaed50dfc5346263ed40e9eacb1fc5c124ec (patch) | |
| tree | 76105213227399eeb6b451d6196f663bd32dda55 /tests/coverage/branch/lazy-boolean.rs | |
| parent | 3b388eb9b692d27f9c2054ba2e3f350d0fa19afe (diff) | |
| download | rust-98fdcaed50dfc5346263ed40e9eacb1fc5c124ec.tar.gz rust-98fdcaed50dfc5346263ed40e9eacb1fc5c124ec.zip | |
build_helper: add `recursive_remove` helper
`recursive_remove` is intended to be a wrapper around `std::fs::remove_dir_all`, but which also allows the removal target to be a non-directory entry, i.e. a file or a symlink. It also tries to remove read-only attributes from filesystem entities on Windows for non-dir entries, as `std::fs::remove_dir_all` handles the dir (and its children) read-only cases. Co-authored-by: Chris Denton <chris@chrisdenton.dev>
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions
