| 146 | } |
| 147 | |
| 148 | bool AndroidFileSystem::DirectoryExists(const StringView& path) |
| 149 | { |
| 150 | struct stat fileInfo; |
| 151 | const StringAsANSI<> pathANSI(*path, path.Length()); |
| 152 | if (stat(pathANSI.Get(), &fileInfo) != -1) |
| 153 | { |
| 154 | return S_ISDIR(fileInfo.st_mode); |
| 155 | } |
| 156 | return false; |
| 157 | } |
| 158 | |
| 159 | bool AndroidFileSystem::DirectoryGetFiles(Array<String>& results, const String& path, const Char* searchPattern, DirectorySearchOption option) |
| 160 | { |