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

Function get_env_interp

crates/cli/src/docker_init.rs:586–588  ·  view source on GitHub ↗

FOO=${BAR}

(k: &str, v: &str)

Source from the content-addressed store, hash-verified

584
585/// FOO=${BAR}
586fn get_env_interp(k: &str, v: &str) -> (String, Option<SingleValue>) {
587 get_env_val(k, &format!("${{{v}}}"))
588}
589
590/// FOO=bar
591fn get_env_val(k: &str, v: &str) -> (String, Option<SingleValue>) {

Callers 2

handle_docker_initFunction · 0.85
get_env_sameFunction · 0.85

Calls 1

get_env_valFunction · 0.85

Tested by

no test coverage detected