Can I accidentally use a partially synced file?

Quoting Understanding Synchronization: Temporary Files:

Syncthing never writes directly to a destination file. Instead all changes are made to a temporary copy which is then moved in place over the old version.

Will I only get either the old version or the new version of the file?

Or in other words, is the move operation atomic?

My guess is yes, because move is basically just rename internally (I think?).

Yes

1 Like