зеркало из https://github.com/github/ruby.git
983115cf3c
... instead of any StandardError. To behave like the standard `rm` command, it should only ignore exceptions about not existing files, not every exception. This should make debugging some errors easier, because the expectation is that `rm -rf` will succeed if and only if, all given files (previously existent or not) are removed. However, due to this exception swallowing, this is not always the case. From the `rm` man page > COMPATIBILITY > > The rm utility differs from historical implementations in that the -f > option only masks attempts to remove non-existent files instead of > masking a large variety of errors. https://github.com/ruby/fileutils/commit/fa65d676ec Co-Authored-By: David Rodríguez <deivid.rodriguez@riseup.net> |
||
---|---|---|
.. | ||
clobber.rb | ||
fileasserts.rb | ||
test_dryrun.rb | ||
test_fileutils.rb | ||
test_nowrite.rb | ||
test_verbose.rb | ||
visibility_tests.rb |