MCPcopy Create free account
hub / github.com/apache/trafficserver / stat

Class stat

src/proxy/logging/LogFile.cc:322–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320 struct dirent *entry;
321 while ((entry = readdir(ld))) {
322 struct stat sbuf;
323 snprintf(path, MAXPATHLEN, "%s/%s", logfile_dir.c_str(), entry->d_name);
324 int sret = ::stat(path, &sbuf);
325 if (sret != -1 && S_ISREG(sbuf.st_mode)) {

Callers 1

trim_rolledMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected