MCPcopy Create free account
hub / github.com/baidu/tera / Abandon

Method Abandon

src/leveldb/persistent_cache/persistent_cache_file.cc:130–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void WriteableCacheFile::Abandon() {
131 file_.reset();
132 assert(refs_);
133 LEVELDB_LOG("Abandon cache file: %s\n", Path().c_str());
134 cache_->ForceEvict(this);
135 --refs_;
136}
137} // namespace leveldb

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
ForceEvictMethod · 0.45

Tested by

no test coverage detected