MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / is_dir

Function is_dir

dependencies/httplib/httplib.h:1975–1978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1973}
1974
1975inline bool is_dir(const std::string &path) {
1976 struct stat st;
1977 return stat(path.c_str(), &st) >= 0 && S_ISDIR(st.st_mode);
1978}
1979
1980inline bool is_valid_path(const std::string &path) {
1981 size_t level = 0;

Callers 1

set_mount_pointMethod · 0.85

Calls 1

statClass · 0.70

Tested by

no test coverage detected