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

Class stat

xs/tools/xsc.c:156–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154#else
155 char buffer[C_PATH_MAX];
156 struct stat a_stat;
157 if (realpath(path, buffer) != NULL) {
158 if (stat(buffer, &a_stat) == 0) {
159 if (S_ISDIR(a_stat.st_mode)) {

Callers 3

fxRealDirectoryPathFunction · 0.70
fxRealFilePathFunction · 0.70
fxRealFilePathIfFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected