Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Write files atomically #48

Closed
kirillt opened this issue Jul 26, 2023 · 0 comments · Fixed by #50
Closed

Write files atomically #48

kirillt opened this issue Jul 26, 2023 · 0 comments · Fixed by #50
Assignees
Labels
enhancement New feature or request

Comments

@kirillt
Copy link
Member

kirillt commented Jul 26, 2023

We can't allow half-written files in storages, even in cache.

Write data to a temporary file, then move it to the target path.

@kirillt kirillt added the enhancement New feature or request label Jul 26, 2023
@kirillt kirillt transferred this issue from ARK-Builders/arklib-android Sep 22, 2023
@kirillt kirillt moved this to Todo in Development Oct 15, 2023
@kirillt kirillt moved this from Todo to In Progress in Development Oct 15, 2023
@kirillt kirillt moved this from In Progress to Review in Development Oct 21, 2023
@kirillt kirillt moved this from Review to In Progress in Development Nov 19, 2023
@kirillt kirillt moved this from In Progress to Review in Development Nov 22, 2023
kirillt added a commit that referenced this issue Dec 14, 2023
Co-authored-by: Kirill Taran <[email protected]>
Co-authored-by: Gwendal Fernet <[email protected]>
@github-project-automation github-project-automation bot moved this from Review to Done in Development Dec 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants