MCPcopy Create free account
hub / github.com/defold/defold / IsLiveUpdateResource

Function IsLiveUpdateResource

engine/resource/src/test/test_resource_archive.cpp:108–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106};
107
108bool IsLiveUpdateResource(dmhash_t lu_path_hash)
109{
110 for (uint32_t i = 0; i < (sizeof(liveupdate_path_hash) / sizeof(liveupdate_path_hash[0])); ++i)
111 {
112 if (lu_path_hash == liveupdate_path_hash[i])
113 {
114 return true;
115 }
116 }
117 return false;
118}
119
120TEST(dmResourceArchive, ManifestHeader)
121{

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected