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

Method Promote

library/cpp/cache/cache.h:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 void Promote(TItem* item) {
123 item->Unlink();
124 List.PushBack(item);
125 }
126
127 [[nodiscard]] size_t GetSize() const {
128 return ItemsAmount;

Callers

nothing calls this directly

Calls 2

UnlinkMethod · 0.45
PushBackMethod · 0.45

Tested by

no test coverage detected