Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GlobedGD/globed2
/ evictAllToLayer2
Method
evictAllToLayer2
src/core/PlayerCacheManager.cpp:61–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
}
60
61
void PlayerCacheManager::evictAllToLayer2() {
62
for (auto& [accountId, entry] : m_layer1) {
63
m_layer2[accountId] = Entry{std::move(entry.data)};
64
}
65
66
m_layer1.clear();
67
}
68
69
}
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected