We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<…>rectories. The result is similar to the rmdir -r shell command. |The directory should not be empty.|
https://www.tarantool.io/en/doc/latest/reference/reference_lua/fio/#fio-rmtree
Why should it? Seems it's not true.
rosik@rlap:/tmp/tmp.MFOEXsE5TA$ mkdir tmp rosik@rlap:/tmp/tmp.MFOEXsE5TA$ ls -al tmp total 8 drwxrwxr-x 2 rosik rosik 4096 Feb 16 20:26 . drwx------ 4 rosik rosik 4096 Feb 16 20:26 .. rosik@rlap:/tmp/tmp.MFOEXsE5TA$ tarantool -l fio Tarantool 2.8.0-8-g4108070c3 type 'help' for interactive help tarantool> fio.rmtree('tmp') --- - true ... tarantool> ^C rosik@rlap:/tmp/tmp.MFOEXsE5TA$ ls -al tmp ls: cannot access 'tmp': No such file or directory
It was empty, but it's removed successfully. Also, there's no such thing as rmdir -r, but there is rm -rf.
rmdir -r
rm -rf
@rosik
May be related to #1063 See also 034361f
The text was updated successfully, but these errors were encountered:
@rosik thanks!
Sorry, something went wrong.
xuniq
Successfully merging a pull request may close this issue.
https://www.tarantool.io/en/doc/latest/reference/reference_lua/fio/#fio-rmtree
Why should it? Seems it's not true.
It was empty, but it's removed successfully. Also, there's no such thing as
rmdir -r
, but there isrm -rf
.@rosik
May be related to #1063
See also 034361f
The text was updated successfully, but these errors were encountered: