zed/crates/fs/tests/integration
Smit Barmase 4e9e944357
fs: Fix no-overwrite rename races (#51090)
Closes #46661

This PR changes `fs.rename` to use the platform’s atomic no-overwrite
rename on all platforms when `overwrite` is `false`. This fixes a case
where concurrent renames to the same target could race past a separate
metadata check and end up overwriting each other.

In Project Panel, we can still rename entries in parallel without
worrying about OS internals not handling it correctly or making these
renames sequential.

Release Notes:

- Fixed an issue in the Project Panel where conflicting file moves could
overwrite each other instead of leaving the losing file in place.
2026-03-10 03:56:45 +05:30
..
fake_git_repo.rs git: Fix remote worktree support (#50614) 2026-03-03 19:01:28 +01:00
fs.rs fs: Fix no-overwrite rename races (#51090) 2026-03-10 03:56:45 +05:30
main.rs