Expand description
Misc filesystem related helpers for use by bootstrap and tools.
Functions§
- ignore_
not_ found - Helper to ignore
std::io::ErrorKind::NotFound
, but still propagate otherstd::io::ErrorKind
s. - recursive_
remove - A wrapper around
std::fs::remove_dir_all
that can also be used on non-directory entries, including files and symbolic links. - try_
remove_ 🔒op_ set_ perms