Module fs

Source
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 other std::io::ErrorKinds.
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 🔒