nushell/crates/nu-cmd-base/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
..
formats Use Record's public API in a bunch of places (#10927) 2023-11-08 14:24:00 +01:00
hook.rs Make get_env_var return a reference to a Value (#13987) 2024-10-02 13:05:48 +02:00
input_handler.rs Add and use new Signals struct (#13314) 2024-07-07 22:29:01 +00:00
lib.rs Add top-level crate documentation/READMEs (#12907) 2024-07-14 10:10:41 +02:00
util.rs Set current working directory at startup (#12953) 2024-09-25 13:04:26 -05:00