Closed infeo closed 2 years ago
I just noticed, this PR is not done yet: Since the stepparent dir is created manually, we do not add a dirid file to it, although we should. Because once the user moves the recovered directory, he won't be able to recover the files names again.
Kudos, SonarCloud Quality Gate passed!
Closes #126.
This PR allows to restore also filenames of an orphaned directory, if the dirId file is present.
It is implemented in a failsafe way: If the dirId file does not exists, cannot be read or does not match, the orphan cipher dir is recovered without it.