| 25 | } |
| 26 | |
| 27 | static FileStat statFromPath(const char* path) { |
| 28 | struct stat statStruct; |
| 29 | std::memset(&statStruct, 0, sizeof(statStruct)); |
| 30 | return fileStatFromCStat(stat(path, &statStruct) >= 0, statStruct); |
| 31 | } |
| 32 | |
| 33 | static FileStat statFromFd(int fd) { |
| 34 | struct stat statStruct; |
no test coverage detected