nushell/crates/nu_plugin_example/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
..
commands ListStream touchup (#12524) 2024-05-05 16:00:59 +00:00
example.rs Change PluginCommand API to be more like Command (#12279) 2024-03-27 11:59:57 +01:00
lib.rs Add GetSpanContents engine call (#12439) 2024-04-09 10:02:17 -04:00
main.rs Change PluginCommand API to be more like Command (#12279) 2024-03-27 11:59:57 +01:00