MCPcopy Create free account
hub / github.com/catboost/catboost / Erase

Method Erase

library/cpp/cache/cache.h:116–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 }
115
116 void Erase(TItem* item) {
117 item->Unlink();
118 --ItemsAmount;
119 TotalSize -= SizeProvider(item->Value);
120 }
121
122 void Promote(TItem* item) {
123 item->Unlink();

Callers

nothing calls this directly

Calls 1

UnlinkMethod · 0.45

Tested by

no test coverage detected