cryptomator / cryptofs

Java Filesystem Provider with integrated encryption
GNU Affero General Public License v3.0
93 stars 35 forks source link

Fix: Move directory to existing dir specifiying REPLACE_EXISTING #179

Closed infeo closed 1 year ago

infeo commented 1 year ago

Fixes #176.

Additionally, I changed the execution order when deleting fs nodes of the move target. Now, we first delete the directory link and only then the now orphaned content dir is deleted. The reasoning is: An orphaned directory can be recovered, while a broken directory link cannot be repaired.