cryptomator / cryptofs

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

Implement fix for missing content dir #139

Closed infeo closed 2 years ago

infeo commented 2 years ago

The fix for a missing content dir is to create the missing directory and place a dirId backup file inside.

Creating the directory again can cause sync conflict, but not fixing the result reserves a resource name in the parent directory unnoticable for the library consumer. Since the health check is for fixing problems with the present vault structure, the latter rules out the former from my point of view.