You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
Files.deleteRecursive fails when passed a directory that contains a non-empty directory. I tested this using zio 2.0.10, zio-nio 2.0.1 and JDK "Temurin" 17.0.5:
I opened a PR with a basic implementation for the desired functionality. I marked it as WIP since there's a couple of things that aren't clear to me:
What is the exact meaning of the effect's result value? Should it record the number of deleted files? Or files + directories?
What should be the behavior for symlinks? I'd suggest adding the ability to pass LinkOptions like in other methods to enable control over whether a linked directory gets wiped as well.
Hi all,
Files.deleteRecursive
fails when passed a directory that contains a non-empty directory. I tested this using zio2.0.10
, zio-nio2.0.1
and JDK "Temurin"17.0.5
:I believe this is not intended behavior.
The text was updated successfully, but these errors were encountered: