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

Function constructFilePath

cachelib/allocator/NvmCacheState.cpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43std::string constructFilePath(folly::StringPiece cacheDir,
44 folly::StringPiece name) {
45 return fmt::format("{}/{}", cacheDir, name);
46}
47
48serialization::NvmCacheMetadata loadMetadata(folly::StringPiece fileName) {
49 folly::File shutDownFile{fileName};

Callers 3

getFileNameForMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected