MCPcopy Create free account
hub / github.com/Niko1221/Strata / put

Function put

engine/src/core/nv_defaults_test.cpp:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#endif
22}
23static void put(const char* k, const char* v) {
24#if defined(_WIN32)
25 _putenv_s(k, v);
26#else
27 setenv(k, v, 1);
28#endif
29}
30
31static const std::string* find(const std::vector<std::pair<std::string, std::string>>& t, const char* k) {
32 for (const auto& kv : t)

Callers 4

mainFunction · 0.70
copy_residencyFunction · 0.70
draftMethod · 0.70
chain_launchMethod · 0.70

Calls 1

setenvFunction · 0.85

Tested by

no test coverage detected