| 31 | } |
| 32 | |
| 33 | static FileStat statFromFd(int fd) { |
| 34 | struct stat statStruct; |
| 35 | std::memset(&statStruct, 0, sizeof(statStruct)); |
| 36 | return fileStatFromCStat(fstat(fd, &statStruct) >= 0, statStruct); |
| 37 | } |
| 38 | |
| 39 | FileReader::FileReader(const Path& path) : _path(path.toString()) {} |
| 40 | FileReader::~FileReader() { |
no test coverage detected