nushell/crates/nu-plugin-engine/src
Ian Manske 157494e803
Make get_env_var return a reference to a Value (#13987)
# Description
Title says it all, changes `EngineState::get_env_var` to return a
`Option<&'a Value>` instead of an owned `Option<Value>`. This avoids
some unnecessary clones.

I also made a similar change to the `PluginExecutionContext` trait.
2024-10-02 13:05:48 +02:00
..
interface Make get_env_var return a reference to a Value (#13987) 2024-10-02 13:05:48 +02:00
plugin_custom_value_with_source Replace raw usize IDs with new types (#13832) 2024-09-30 13:20:15 +02:00
util doc: fix broken doc links (#13644) 2024-08-23 21:17:44 +02:00
context.rs Make get_env_var return a reference to a Value (#13987) 2024-10-02 13:05:48 +02:00
declaration.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
gc.rs Setup global cargo lint configuration (#13691) 2024-08-28 23:37:17 +02:00
init.rs Error on non-zero exit statuses (#13515) 2024-09-07 06:44:26 +00:00
lib.rs Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00
persistent.rs Fix try not working with let, etc. (#13885) 2024-09-23 06:44:25 -05:00
process.rs doc: fix broken doc links (#13644) 2024-08-23 21:17:44 +02:00
source.rs doc: fix broken doc links (#13644) 2024-08-23 21:17:44 +02:00
test_util.rs Split the plugin crate (#12563) 2024-04-27 12:08:12 -05:00