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

Method getFileNameFor

cachelib/allocator/NvmCacheState.cpp:169–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169std::string NvmCacheState::getFileNameFor(folly::StringPiece name) const {
170 return constructFilePath(cacheDir_, name);
171}
172
173std::string NvmCacheState::getFileForNvmCacheDrop(folly::StringPiece cacheDir) {
174 return constructFilePath(cacheDir, kShouldDropNvmCache);

Callers

nothing calls this directly

Calls 1

constructFilePathFunction · 0.85

Tested by

no test coverage detected