MCPcopy 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

MNNDirExistFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected