You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right, the filename known to git should not change.
The idea for this is to use a temp filename during the write, and then rename that to replace the versioned filename, when the file is fully persisted on disk. This (hopefully) makes the changes to the file atomic.
Context
If the store process exits during a write, files should not be left in a partially written state.
Proposal
First write to a temp file and then rename.
This is related to #80, since we need to keep watching the file after rename.
The text was updated successfully, but these errors were encountered: