| 142 | } |
| 143 | |
| 144 | Result<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 |
| 153 | Result<std::string> NativeToString(const NativePathString& ws) { |
no test coverage detected