| Crates.io | git-tempfile |
| lib.rs | git-tempfile |
| version | 3.0.3 |
| created_at | 2021-06-15 13:56:21.491785+00 |
| updated_at | 2023-02-17 08:57:33.721975+00 |
| description | Please use `gix- |
| homepage | |
| repository | https://github.com/Byron/gitoxide |
| max_upload_size | |
| id | 410459 |
| size | 112,565 |
Use tempfiles to minimize the risk of resource leakage when preparing to overwrite or create a file with new content in a signal-safe way, making the change atomic.
Tempfiles can also be used as locks as only one tempfile can exist at a given path at a time.
gix to clean lockfiles before the process is aborted.std::io traits