nushell/crates/nu-cmd-plugin/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
..
commands fix the ability to add a plugin by name instead of path (#13877) 2024-09-23 06:43:19 -05:00
default_context.rs remove the deprecated register command (#13297) 2024-07-05 07:16:50 -05:00
lib.rs Overhaul the plugin cache file with a new msgpack+brotli format (#12579) 2024-04-21 07:36:26 -05:00
util.rs Make get_env_var return a reference to a Value (#13987) 2024-10-02 13:05:48 +02:00