| 816 | return res; |
| 817 | } |
| 818 | bool IsDirectory(const std::string& vFilePathName) override { |
| 819 | DIR* pDir = opendir(vFilePathName.c_str()); |
| 820 | if (pDir) { |
| 821 | (void)closedir(pDir); |
| 822 | return true; |
| 823 | } |
| 824 | return false; |
| 825 | } |
| 826 | void GetFileDateAndSize(const std::string& vFilePathName, const IGFD::FileType& vFileType, std::string& voDate, size_t& voSize) override { |
| 827 | struct stat statInfos{}; |
| 828 | int32_t result{}; |