MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / is_dir_exists

Function is_dir_exists

ogsr_engine/xrCore/LocatorAPI.cpp:414–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414bool is_dir_exists(const char* _path)
415{
416 struct stat file_info;
417
418 if (stat(_path, &file_info) == 0 && file_info.st_mode & S_IFDIR)
419 {
420 return true;
421 }
422
423 return false;
424}
425
426bool ignore_name(const char* _name)
427{

Callers 1

Calls 1

statClass · 0.70

Tested by

no test coverage detected