MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / stat

Class stat

Tactility/Source/service/webserver/AssetVersion.cpp:214–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212 bool isReg = (entry.d_type == file::TT_DT_REG);
213 if (!isDir && !isReg) {
214 struct stat st;
215 if (stat(srcPath.c_str(), &st) == 0) {
216 isDir = S_ISDIR(st.st_mode);
217 isReg = S_ISREG(st.st_mode);

Callers 1

copyDirectoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected