Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/MNN
/ stat
Class
stat
source/core/MNNFileUtils.cpp:25–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
return (file_attributes != INVALID_FILE_ATTRIBUTES) && (file_attributes & FILE_ATTRIBUTE_DIRECTORY);
24
#else
25
struct stat info;
26
return (stat(path, &info) == 0) && (info.st_mode & S_IFDIR);
27
#endif
28
}
Callers
1
MNNDirExist
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected