Skip to content

fix: Use atomic writing when saving files to avoid corrupting them#3

Merged
lucasrrt merged 2 commits intomainfrom
fix/add-atomic-writing
Apr 8, 2026
Merged

fix: Use atomic writing when saving files to avoid corrupting them#3
lucasrrt merged 2 commits intomainfrom
fix/add-atomic-writing

Conversation

@lucasrrt
Copy link
Copy Markdown
Contributor

@lucasrrt lucasrrt commented Apr 8, 2026

path.write_text is not atomic and may lead to corrupted files if many writes happen to the same file.

@lucasrrt lucasrrt merged commit cd96b99 into main Apr 8, 2026
7 checks passed
@lucasrrt lucasrrt deleted the fix/add-atomic-writing branch April 8, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant