nushell/crates/nu-plugin-engine/src
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
..
interface ListStream touchup (#12524) 2024-05-05 16:00:59 +00:00
plugin_custom_value_with_source Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00
util Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00
context.rs Migrate to a new PWD API (#12603) 2024-05-03 14:33:09 +03:00
declaration.rs Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00
gc.rs Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00
init.rs Flush on every plugin Data message (#12728) 2024-05-02 23:51:16 +00:00
lib.rs Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00
persistent.rs Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00
process.rs Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00
source.rs Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00
test_util.rs Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00