nushell/crates/nu-cmd-lang/src/core_commands
Ian Manske e879d4ecaf
ListStream touchup (#12524)
# Description

Does some misc changes to `ListStream`:
- Moves it into its own module/file separate from `RawStream`.
- `ListStream`s now have an associated `Span`.
- This required changes to `ListStreamInfo` in `nu-plugin`. Note sure if
this is a breaking change for the plugin protocol.
- Hides the internals of `ListStream` but also adds a few more methods.
- This includes two functions to more easily alter a stream (these take
a `ListStream` and return a `ListStream` instead of having to go through
the whole `into_pipeline_data(..)` route).
  -  `map`: takes a `FnMut(Value) -> Value`
  - `modify`: takes a function to modify the inner stream.
2024-05-05 16:00:59 +00:00
..
overlay Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
scope ListStream touchup (#12524) 2024-05-05 16:00:59 +00:00
alias.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
break_.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
collect.rs nu-cmd-lang cleanup (#12609) 2024-04-25 14:16:12 +00:00
const_.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
continue_.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
def.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
describe.rs Remove lazy records (#12682) 2024-05-03 08:36:10 +08:00
do_.rs ListStream touchup (#12524) 2024-05-05 16:00:59 +00:00
echo.rs Mention print in the echo help text (#12436) 2024-04-06 20:24:00 -05:00
error_make.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
export_alias.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
export_const.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
export_def.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
export_extern.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
export_module.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
export_use.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
export.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
extern_.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
for_.rs ListStream touchup (#12524) 2024-05-05 16:00:59 +00:00
hide_env.rs nu-cmd-lang cleanup (#12609) 2024-04-25 14:16:12 +00:00
hide.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
if_.rs nu-cmd-lang cleanup (#12609) 2024-04-25 14:16:12 +00:00
ignore.rs Rename IoStream to OutDest (#12433) 2024-04-09 16:48:32 +00:00
let_.rs nu-cmd-lang cleanup (#12609) 2024-04-25 14:16:12 +00:00
loop_.rs Remove the Value::Block case (#12582) 2024-04-21 07:03:33 +02:00
match_.rs nu-cmd-lang cleanup (#12609) 2024-04-25 14:16:12 +00:00
mod.rs Remove lazy records (#12682) 2024-05-03 08:36:10 +08:00
module.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
mut_.rs nu-cmd-lang cleanup (#12609) 2024-04-25 14:16:12 +00:00
return_.rs nu-cmd-lang cleanup (#12609) 2024-04-25 14:16:12 +00:00
try_.rs Make exit code available in catch block (#12648) 2024-04-26 16:35:08 +00:00
use_.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
version.rs nu-cmd-lang cleanup (#12609) 2024-04-25 14:16:12 +00:00
while_.rs Remove the Value::Block case (#12582) 2024-04-21 07:03:33 +02:00