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 12

wrap_commandMethod · 0.80
envsMethod · 0.80
measureFunction · 0.80
run_scriptFunction · 0.80
codspeed_cmdFunction · 0.80
executor_forwards_envFunction · 0.80
checkFunction · 0.80
wrap_stoppedFunction · 0.80

Calls

no outgoing calls