MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / isPathFolder

Method isPathFolder

Source/Basic/Content.cpp:1653–1662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1651}
1652
1653bool 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

Callers

nothing calls this directly

Calls 3

is_directoryFunction · 0.85
toStringMethod · 0.65
isFolderMethod · 0.45

Tested by

no test coverage detected