ZIm/crates/remote_server
tidely 5d634245a2
remote_server: Remove unnecessary Box, prevent time-of-check time-of-use bug (#24730)
The MultiWrite struct is defined in the function scope and is allowed to
have a concrete type, which means we can throw away the extra Box.
PathBuf::exists is known to be prone to invalid usage. It doesn't take
into account permissions errors and just returns false, additionally it
introduces a time-of-check time-of-use bug. While extremely unlikely,
why not fix it anyway.

Release Notes:

- remove unnecessary Box
- prevent time-of-check time-of-use bug
2025-02-12 20:55:22 -07:00
..
src remote_server: Remove unnecessary Box, prevent time-of-check time-of-use bug (#24730) 2025-02-12 20:55:22 -07:00
build.rs Add build SHA to panic reports and zed --version (on nightly/dev) (#24258) 2025-02-06 02:09:24 -07:00
Cargo.toml Fix replication of head text when head matches index (#24306) 2025-02-05 20:37:32 +00:00
LICENSE-GPL Add the ability to edit remote directories over SSH (#14530) 2024-07-19 10:27:26 -07:00