Crates.io | gix-tempfile |
lib.rs | gix-tempfile |
version | |
source | src |
created_at | 2023-02-17 09:42:44.425673 |
updated_at | 2024-10-22 18:57:01.548608 |
description | A tempfile implementation with a global registry to assure cleanup |
homepage | |
repository | https://github.com/GitoxideLabs/gitoxide |
max_upload_size | |
id | 787423 |
Cargo.toml error: | TOML parse error at line 24, column 1 | 24 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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