Closed infeo closed 3 years ago
This feature is feature-complete, so remove those comments
Should I only remove the "TODO" marker or the whole comment?
Should I only remove the "TODO" marker or the whole comment?
The whole comment. Treat the current implementation as final, document future changes in an issue.
This PR adds a new check to the health check API: ShortenedNamesCheck
For all directories ending with
c9s
it checks, if the filename.c9s
exists in its hashed & encoded content matches the directory name.It produces 4 results:
name.c9s
is bigger than a cryptofs internal limitname.c9s
is not a regular file or it does not existFor the future this check can be refinded by providing the directory id of the encrypted dir containing the shortened resource, but for this PR it is out of scope and only noted via inline comments.