| 1651 | } |
| 1652 | |
| 1653 | bool Content::isPathFolder(String path) { |
| 1654 | if (isAndroidAsset(path)) { |
| 1655 | if (_apkFile->isFolder(getAndroidAssetName(path))) { |
| 1656 | return true; |
| 1657 | } |
| 1658 | } else if (!isAbsolutePath(path) && _apkFile->isFolder("assets/"s + path)) { |
| 1659 | return true; |
| 1660 | } |
| 1661 | return fs::is_directory(path.toString()); |
| 1662 | } |
| 1663 | #endif // BX_PLATFORM_ANDROID |
| 1664 | |
| 1665 | #if BX_PLATFORM_ANDROID || BX_PLATFORM_LINUX |
nothing calls this directly
no test coverage detected