nushell/crates/nu-command/src/filesystem
Alexandra Østermark bd9d865912
fix removing symlinks on windows (#9704)
this PR should close #9624

# Description

Fixes the `rm` command assuming that a symlink is a directory and trying
to delete the directory as opposed to unlinking the symlink.

Should probably be tested on linux before merge.

Added tests for deleting symlinks
2023-07-20 20:16:03 +02:00
..
cd_query.rs Fix typos by codespell (#7600) 2022-12-26 02:31:26 -05:00
cd.rs Replace users with nix crate (#9610) 2023-07-06 00:07:07 +02:00
cp.rs Fix cp -u/mv -u when the dst doesn't exist (#9662) 2023-07-12 18:12:59 +02:00
glob.rs add the ability to have a list of glob excludes (#9343) 2023-06-02 12:37:17 -05:00
ls.rs Replace users with nix crate (#9610) 2023-07-06 00:07:07 +02:00
mkdir.rs Document and critically review ShellError variants - Ep. 2 (#8326) 2023-03-06 11:31:07 +01:00
mod.rs move BufferedReader out of nu-command (#7697) 2023-01-06 15:22:17 -08:00
mv.rs Fix cp -u/mv -u when the dst doesn't exist (#9662) 2023-07-12 18:12:59 +02:00
open.rs Add rest and glob support to 'open' (#8506) 2023-03-18 08:51:39 +13:00
rm.rs fix removing symlinks on windows (#9704) 2023-07-20 20:16:03 +02:00
save.rs don't allow save command to save both stdout and stderr to the same file (#9368) 2023-06-10 10:09:19 +02:00
start.rs Apply nightly clippy lints (#9654) 2023-07-12 00:00:31 +02:00
touch.rs Document and critically review ShellError variants - Ep. 2 (#8326) 2023-03-06 11:31:07 +01:00
util.rs Fix cp -u/mv -u when the dst doesn't exist (#9662) 2023-07-12 18:12:59 +02:00
watch.rs dependency: use notify-debouncer-full(based on notify v6) instead of notify v4 (#9606) 2023-07-05 14:14:55 +02:00