Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Erase
Method
Erase
library/cpp/cache/cache.h:253–257 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
251
}
252
253
void Erase(TItem* item) {
254
item->Unlink();
255
--ItemsAmount;
256
TotalSize -= SizeProvider(item->Value);
257
}
258
259
void Promote(TItem* item) {
260
size_t counter = ++item->Counter;
Callers
nothing calls this directly
Calls
1
Unlink
Method · 0.45
Tested by
no test coverage detected