| 29 | |
| 30 | |
| 31 | std::string AppPaths::getAssetsPath() const { |
| 32 | if (manifest.appLocation.isInternal()) { |
| 33 | return std::format("{}{}/app/{}/assets", PARTITION_PREFIX, file::SYSTEM_PARTITION_NAME, manifest.appId); |
| 34 | } else { |
| 35 | return std::format("{}/assets", manifest.appLocation.getPath()); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | std::string AppPaths::getAssetsPath(const std::string& childPath) const { |
| 40 | assert(!childPath.starts_with('/')); |
no test coverage detected