MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / GetDownloadDir

Function GetDownloadDir

vkconfig_core/path.cpp:353–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351void SetDownloadPath(const std::string& path) { ::VK_CURRENT_DOWNLOAD_PATH = path; }
352
353static const std::string GetDownloadDir() {
354 std::string absolute_path = qgetenv("VULKAN_DOWNLOAD").toStdString();
355
356 if (absolute_path.empty()) { // Default path
357 absolute_path = VK_CURRENT_DOWNLOAD_PATH;
358 }
359
360 return absolute_path;
361}
362
363static const std::string GetAppDataDir() {
364 const char* TABLE[] = {

Callers 1

PathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected