Skip to content

Conversation

@olleolleolle
Copy link
Contributor

@olleolleolle olleolleolle commented Apr 22, 2021

This PR adds a fuller set of options passed through to the FileUtils method being supported on Pathname. Fixes #6

Question

FileUtils#rmtree was an alias for FileUtils#rm_rf.

This PR moves from rm_r to rm_rf, to reflect the API documentation notes.

This is a change of the implementation.

Would you prefer to change the documentation OR the implementation?

FileUtils#rmtree was an alias for #rm_rf. Perhaps this would make it
even better to not support the force: true option, but to keep it
"force: true" at all time, anyway?
@olleolleolle olleolleolle requested review from hsbt and mrkn August 26, 2021 12:50
@hsbt hsbt merged commit c97ac00 into ruby:master Jan 5, 2022
@olleolleolle olleolleolle deleted the support-all-fileutils-rm-r-options branch January 5, 2022 12:03
matzbot pushed a commit to ruby/ruby that referenced this pull request May 20, 2022
schneems pushed a commit to schneems/ruby that referenced this pull request Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pathname#rmtree does not support options FileUtils.rmtree supports

2 participants