nushell/crates/nu-parser
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
build.rs Extract build.rs 2019-12-02 13:14:51 -08:00
Cargo.toml Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00