nushell/crates/nu-cli
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
..
src Added new flag '--all/-a' for Ls, also refactor some code (#1483) 2020-03-14 06:27:04 +13:00
tests Fix whitespace and typos (#1481) 2020-03-14 06:23:41 +13:00
Cargo.toml Merge shuffle nu plugin as core command. (#1475) 2020-03-10 17:00:08 -05:00