MCPcopy Create free account
hub / github.com/AGWA/git-crypt / dirent

Class dirent

util-unix.cpp:198–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 // http://austingroupbugs.net/view.php?id=696
197 // http://man7.org/linux/man-pages/man3/readdir_r.3.html
198 while (struct dirent* ent = readdir(dir)) {
199 if (!(std::strcmp(ent->d_name, ".") == 0 || std::strcmp(ent->d_name, "..") == 0)) {
200 contents.push_back(ent->d_name);
201 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected