| 30 | } |
| 31 | |
| 32 | bool IsAsset(const StringView& path, const char* pathAnsi) |
| 33 | { |
| 34 | if (path.StartsWith(StringView(Globals::ProjectFolder), StringSearchCase::CaseSensitive)) |
| 35 | { |
| 36 | AAsset* asset = AAssetManager_open(GetAssetManager(), pathAnsi + Globals::ProjectFolder.Length() + 1, AASSET_MODE_UNKNOWN); |
| 37 | if (asset) |
| 38 | { |
| 39 | AAsset_close(asset); |
| 40 | return true; |
| 41 | } |
| 42 | } |
| 43 | return false; |
| 44 | } |
| 45 | |
| 46 | bool DeleteUnixPathTree(const char* path) |
| 47 | { |
no test coverage detected