MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / stat

Class stat

tools/xsbug/SearchService.c:149–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 *former = '/';
148 while ((name = (xsStringValue)g_dir_read_name(iterator))) {
149 struct stat _stat;
150 strcpy(former + 1, name);
151 if (stat(path, &_stat) == 0) {
152 if (S_ISDIR(_stat.st_mode)) {

Callers 1

PiuCodeSearchDirectoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected