nushell/crates/nu-parser/src
Kevin DCR b6363f3ce1
Added new flag '--all/-a' for Ls, also refactor some code (#1483)
* Utility function to detect hidden folders.
Implemented for Unix and Windows.

* Rename function argument.

* Revert "Rename function argument."

This reverts commit e7ab70f0f0.

* Add flag '--all/-a' to Ls

* Rename function argument.

* Check if flag '--all/-a' is present and path is hidden.
Replace match with map_err for glob result.
Remove redundancy in stream body.
Included comments on new stream body.
Replace async_stream::stream with async_stream::try_stream.
Minor tweaks to is_empty_dir.
Fix and refactor is_hidden_dir.

* Fix "implicit" bool coerse

* Fixed clippy errors
2020-03-14 06:27:04 +13:00
..
commands External it and nu variable column path fetch support. (#1379) 2020-02-11 18:25:56 -05:00
hir Added new flag '--all/-a' for Ls, also refactor some code (#1483) 2020-03-14 06:27:04 +13:00
parse Added new flag '--all/-a' for Ls, also refactor some code (#1483) 2020-03-14 06:27:04 +13:00
commands.rs Restructure and streamline token expansion (#1123) 2020-01-21 17:45:03 -05:00
hir.rs Fixes #1427: Prints help message with -h switch (#1454) 2020-03-11 05:59:50 +13:00
lib.rs Restructure and streamline token expansion (#1123) 2020-01-21 17:45:03 -05:00
macros.rs Restructure and streamline token expansion (#1123) 2020-01-21 17:45:03 -05:00
parse_command.rs Fixes #1427: Prints help message with -h switch (#1454) 2020-03-11 05:59:50 +13:00
parse.rs Restructure and streamline token expansion (#1123) 2020-01-21 17:45:03 -05:00