MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / env

Function env

src/env.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72std::vector<std::string> env(const char* name)
73{
74 auto* p = std::getenv(name);
75 if(p == nullptr)
76 return {};
77 return {{p}};
78}
79
80std::map<std::string, std::string> get_all_envs()
81{

Callers 3

enabledFunction · 0.85
value_ofFunction · 0.85
string_value_ofFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected