Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
noe のえ (noe@sapphic.engineer)'s status on Tuesday, 14-Nov-2023 21:49:02 JSTnoe のえ @kaia @4censord it depends how you change it.
An "atomic write" to a file will write out the new content to a temporary file, delete the old file, and move/rename the temporary file to the old file path.
This would always cause a file to have a mod and create time to be the same.
If you're editing with any text editor or flat-file database, they all do this since it prevents data loss if the write fails.