Function cargo_util::paths::remove_file
source · [−]Expand description
Equivalent to std::fs::remove_file
with better error messages.
If the file is readonly, this will attempt to change the permissions to force the file to be deleted.