MCPcopy Create free account
hub / github.com/catboost/catboost / GetAString

Function GetAString

util/system/shellcommand.cpp:100–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 }
99
100 std::string GetAString(const wchar_t* wstring) {
101 if (!wstring) {
102 return std::string();
103 }
104
105 std::wstring str(wstring);
106 return std::string(str.begin(), str.end());
107 }
108#endif
109} // namespace
110

Callers 1

StartProcessMethod · 0.85

Calls 3

stringClass · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected