MCPcopy Create free account
hub / github.com/apache/arrow / StringToNative

Function StringToNative

cpp/src/arrow/util/io_util.cc:144–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144Result<NativePathString> StringToNative(std::string_view s) {
145#if _WIN32
146 return ::arrow::util::UTF8ToWideString(s);
147#else
148 return std::string(s);
149#endif
150}
151
152#if _WIN32
153Result<std::string> NativeToString(const NativePathString& ws) {

Callers 1

MakeMethod · 0.85

Calls 1

UTF8ToWideStringFunction · 0.85

Tested by

no test coverage detected