mirror of
https://github.com/danbulant/nushell
synced 2026-05-20 12:58:32 +00:00
`std::fs::metadata` will attempt to follow symlinks, which results in a "No such file or directory" error if the path pointed to by the symlink does not exist. This shouldn't prevent `ls` from succeeding, so we ignore errors. Also, switching to use of `symlink_metadata` means we get stat info on the symlink itself, not what it points to. This means `ls` will now include broken symlinks in its listing. |
||
|---|---|---|
| .. | ||
| completer.rs | ||
| filesystem_shell.rs | ||
| help_shell.rs | ||
| helper.rs | ||
| shell.rs | ||
| shell_manager.rs | ||
| value_shell.rs | ||