Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KhronosGroup/Vulkan-ValidationLayers
/ stat
Class
stat
layers/utils/file_system_utils.cpp:29–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
if (!tmp_path.size()) {
28
auto cachepath = GetEnvironment(
"HOME"
) +
"/.cache"
;
29
struct stat info;
30
if (stat(cachepath.c_str(), &info) == 0) {
31
if ((info.st_mode & S_IFMT) == S_IFDIR) {
32
tmp_path = cachepath;
Callers
1
GetTempFilePath
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected