MCPcopy Create free account
hub / github.com/facebook/CacheLib / setFailIncRef

Method setFailIncRef

cachelib/interface/tests/InterfaceTest.cpp:48–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 }
47
48 void setFailIncRef(bool fail) noexcept { failIncRef_ = fail; }
49 bool decrementRefCount(CacheComponent&) noexcept override {
50 return --refCount_ == 0;
51 }

Callers 1

CO_TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected