MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / stat

Class stat

simcore/framework/src/cli/cli.hpp:2343–2343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2341 }
2342# else
2343 struct stat buffer;
2344 if (stat(file, &buffer) == 0) {
2345 return ((buffer.st_mode & S_IFDIR) != 0) ? path_type::directory : path_type::file;
2346 }

Callers 1

check_pathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected