nushell/crates/nu-utils/src
Dan Davison 4926865c4e
str collect => str join (#6531)
* Initialize join.rs as a copy of collect.rs

* Evolve StrCollect into StrJoin

* Replace 'str collect' with 'str join' everywhere

git ls-files | lines | par-each { |it| sed -i 's,str collect,str join,g' $it }

* Deprecate 'str collect'

* Revert "Deprecate 'str collect'"

This reverts commit 959d14203e.

* Change `str collect` help message to say that it is deprecated

We cannot remove `str collect` currently (i.e. via
`nu_protocol::ShellError::DeprecatedCommand` since a prominent project
uses the API:

b85542c31c/src/virtualenv/activation/nushell/activate.nu (L43)
2022-09-11 11:48:27 +03:00
..
sample_config str collect => str join (#6531) 2022-09-11 11:48:27 +03:00
lib.rs Add decimals to int when using into string --decimals (#6085) 2022-08-12 21:13:50 -05:00
locale.rs make date format supports locale (#6306) 2022-08-14 08:07:04 -05:00
main.rs added nu-utils crate, fixed issue where externals turn off vt processing (#4857) 2022-03-16 17:21:06 -05:00
utils.rs adds a config reset command (#6149) 2022-07-31 20:44:33 -05:00