MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / set_env_required

Function set_env_required

tests/seed_vc/seed_vc_warm_bench.cpp:186–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186void set_env_required(const char * key, const std::string & value) {
187 if (setenv(key, value.c_str(), 1) != 0) {
188 throw std::runtime_error("failed to set environment variable: " + std::string(key));
189 }
190}
191
192} // namespace
193

Callers 1

mainFunction · 0.70

Calls 1

stringFunction · 0.70

Tested by

no test coverage detected