Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BanjoRecomp/BanjoRecomp
/ erase
Method
erase
src/game/recomp_data_api.cpp:90–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
88
}
89
90
bool erase(const KeyType& key) {
91
std::lock_guard lock{mutex};
92
size_t num_erased = set.erase(key);
93
return num_erased != 0;
94
}
95
96
void clear() {
97
std::lock_guard lock{mutex};
Callers
nothing calls this directly
Calls
1
erase
Method · 0.45
Tested by
no test coverage detected