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

Function GetWindowsDirectoryPath

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

Source from the content-addressed store, hash-verified

1873
1874#if _WIN32
1875NativePathString GetWindowsDirectoryPath() {
1876 auto size = GetWindowsDirectoryW(nullptr, 0);
1877 ARROW_CHECK_GT(size, 0) << "GetWindowsDirectoryW failed";
1878 std::vector<wchar_t> w_str(size);
1879 size = GetWindowsDirectoryW(w_str.data(), size);
1880 ARROW_CHECK_GT(size, 0) << "GetWindowsDirectoryW failed";
1881 return {w_str.data(), size};
1882}
1883#endif
1884
1885// Return a list of preferred locations for temporary files

Callers 1

GetPlatformTemporaryDirsFunction · 0.85

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected