nushell/src/shell
Jason Gedge 341cc1ea63 Ignore errors in ls.
`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.
2019-10-13 12:26:31 -04:00
..
completer.rs Merge pull request #578 from jonathandturner/fix_577 2019-09-03 07:09:26 +12:00
filesystem_shell.rs Ignore errors in ls. 2019-10-13 12:26:31 -04:00
help_shell.rs Stream support (#812) 2019-10-13 17:12:43 +13:00
helper.rs Stream support (#812) 2019-10-13 17:12:43 +13:00
shell.rs Stream support (#812) 2019-10-13 17:12:43 +13:00
shell_manager.rs Stream support (#812) 2019-10-13 17:12:43 +13:00
value_shell.rs Stream support (#812) 2019-10-13 17:12:43 +13:00