MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / TryOpenDirectory

Method TryOpenDirectory

Sources/Shared/IO/AndroidAssetStream.cpp:239–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237 }
238
239 bool AndroidAssetStream::TryOpenDirectory(const Containers::StringView path)
240 {
241 AAssetDir* assetDir = AAssetManager_openDir(_nativeActivity->assetManager, path.data());
242 if (assetDir != nullptr) {
243 AAssetDir_close(assetDir);
244 return true;
245 }
246
247 return false;
248 }
249
250 std::int64_t AndroidAssetStream::GetFileSize(const Containers::StringView path)
251 {

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected