MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / env

Method env

src/executor/helpers/command.rs:51–59  ·  view source on GitHub ↗
(&mut self, key: K, value: V)

Source from the content-addressed store, hash-verified

49 }
50
51 pub fn env<K, V>(&mut self, key: K, value: V) -> &mut Self
52 where
53 K: AsRef<OsStr>,
54 V: AsRef<OsStr>,
55 {
56 self.envs
57 .insert(key.as_ref().to_owned(), value.as_ref().to_owned());
58 self
59 }
60
61 pub fn envs<I, K, V>(&mut self, vars: I) -> &mut Self
62 where

Callers 6

wrap_commandMethod · 0.80
envsMethod · 0.80
measureFunction · 0.80
codspeed_cmdFunction · 0.80
set_node_optionsFunction · 0.80
perform_with_valgrindFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected