Details
-
Technical task
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
TCU needs to handle the case where a file is deleted via rename() like:
write new ".FILENAME.tmp"; rename ".FILENAME.tmp" over old "FILENAME"
This is a common pattern for tools like editors to avoid corrupting FILENAME when a new version is written, in case the process crashes in the middle of writing out the new data. This should move the old FILENAME into Trash, probably with a version if this happens repeatedly.