MCPcopy Index your code
hub / github.com/Commit-Boost/commit-boost-client / get_env_val

Function get_env_val

crates/cli/src/docker_init.rs:591–593  ·  view source on GitHub ↗

FOO=bar

(k: &str, v: &str)

Source from the content-addressed store, hash-verified

589
590/// FOO=bar
591fn get_env_val(k: &str, v: &str) -> (String, Option<SingleValue>) {
592 (k.into(), Some(SingleValue::String(v.into())))
593}
594
595fn get_env_uval(k: &str, v: u64) -> (String, Option<SingleValue>) {
596 (k.into(), Some(SingleValue::Unsigned(v)))

Callers 2

handle_docker_initFunction · 0.85
get_env_interpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected