nushell/crates/nu-cli/src/data
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
..
base Merge env into $nu and simplify table/get (#1463) 2020-03-08 18:33:30 +13:00
config Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
base.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
command.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
config.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
dict.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
files.rs Added new flag '--all/-a' for Ls, also refactor some code (#1483) 2020-03-14 06:27:04 +13:00
operators.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
primitive.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
process.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
types.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
value.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00