MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / getAssetsPath

Method getAssetsPath

Tactility/Source/app/AppPaths.cpp:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30
31std::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
39std::string AppPaths::getAssetsPath(const std::string& childPath) const {
40 assert(!childPath.starts_with('/'));

Callers 3

onShowMethod · 0.45
tt_app_get_assets_pathFunction · 0.45

Calls 2

isInternalMethod · 0.80
getPathMethod · 0.80

Tested by

no test coverage detected