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

Function get_env_same

crates/cli/src/docker_init.rs:581–583  ·  view source on GitHub ↗

FOO=${FOO}

(k: &str)

Source from the content-addressed store, hash-verified

579
580/// FOO=${FOO}
581fn get_env_same(k: &str) -> (String, Option<SingleValue>) {
582 get_env_interp(k, k)
583}
584
585/// FOO=${BAR}
586fn get_env_interp(k: &str, v: &str) -> (String, Option<SingleValue>) {

Callers 1

handle_docker_initFunction · 0.85

Calls 1

get_env_interpFunction · 0.85

Tested by

no test coverage detected