Conversation
Notices
-
Embed this notice
@4censord it says birth time, but it always matches modtime?
-
Embed this notice
@4censord like changing the file also changes birth time
-
Embed this notice
@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.
-
Embed this notice
@noe @4censord oh makes sense