MCPcopy Create free account
hub / github.com/codecombat/codecombat / readActivityFromCache

Function readActivityFromCache

app/lib/user-utils.js:120–122  ·  view source on GitHub ↗
(userId, activityName)

Source from the content-addressed store, hash-verified

118}
119
120function readActivityFromCache (userId, activityName) {
121 return normalizeCacheEntry(readActivityStatusCache(userId)[activityName])
122}
123
124function reconcileActivity (localActivity, remoteActivity) {
125 const remote = activityFromRemote(remoteActivity)

Callers

nothing calls this directly

Calls 2

normalizeCacheEntryFunction · 0.85
readActivityStatusCacheFunction · 0.85

Tested by

no test coverage detected