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

Function IsPathInProgress

engine/resource/src/resource_preloader.cpp:285–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283 }
284
285 static bool IsPathInProgress(ResourcePreloader* preloader, const PathDescriptor* path_descriptor)
286 {
287 dmhash_t path_hash = path_descriptor->m_CanonicalPathHash;
288 bool* path_lookup = preloader->m_InProgress.Get(path_hash);
289 return path_lookup != 0x0;
290 }
291
292 static void MarkPathInProgress(ResourcePreloader* preloader, const PathDescriptor* path_descriptor)
293 {

Callers 1

DoPreloaderUpdateOneReqFunction · 0.85

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected