| Crates.io | gix-tempfile |
| lib.rs | gix-tempfile |
| version | 18.0.0 |
| created_at | 2023-02-17 09:42:44.425673+00 |
| updated_at | 2025-07-15 03:33:57.872024+00 |
| description | A tempfile implementation with a global registry to assure cleanup |
| homepage | |
| repository | https://github.com/GitoxideLabs/gitoxide |
| max_upload_size | |
| id | 787423 |
| size | 64,644 |
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