This is an archive of the discontinued Mercurial Phabricator instance.

rust: Add Vfs::write_atomic
ClosedPublic

Authored by SimonSapin on Dec 2 2021, 11:48 AM.

Details

Summary

This method writes to a temporary file then renames in place

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

SimonSapin created this revision.Dec 2 2021, 11:48 AM
Alphare accepted this revision.Dec 3 2021, 6:15 AM
This revision is now accepted and ready to land.Dec 3 2021, 6:15 AM
This revision was automatically updated to reflect the committed changes.