History

[tempfile] update crate status

Sebastian Thiel committed 5 years ago

Commit 6ca4f541 parent 92f3a831 file · +6 −0Browse files

Unified · Split

crate-status.md+6−0
@@ -208,9 +208,15 @@ Check out the [performance discussion][git-traverse-performance] as well. · 207 unmodified lines
208208
209209 ### git-tempfile
210210
211+Use tempfiles to minimize the risk of resource leakage when preparing to overwrite or create a file with new content
212+in a signal-safe way, making the change atomic.
213+
214+Tempfiles can also be used as locks as only one tempfile can exist at a given path at a time.
215+
211216 * [x] registered temporary files which are deleted automatically as the process terminates or on drop
212217 * [x] write to temorary file and persist it under new name
213218 * [x] mark paths with a closed temporary file
219+* [x] persist temporary files to prevent them from perishing.
214220
215221 ### git-config
216222 * [ ] read