Replies: 1 comment
-
Hi, i agree with that, because i m trying to delete a directory, the response send is true but the directory still existe |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Filesystem::deleteDirectory()
method returns false if the directory does not exist, and true in any other cases.I think it should return false if the directory can't be deleted too.
Filesystem::deleteDirectories()
returns false if the directory does not contain any sub-directories; shouldn't it return false if it can't delete these sub-directories? (and changing the return value to true if there's no directory to be deleted)Filesystem::cleanDirectory()
returns false if the directory does not exist, and true in any other cases.I think it should return false also if the directory hasn't been empties too.
Beta Was this translation helpful? Give feedback.
All reactions