MCPcopy Create free account
hub / github.com/Snapchat/Valdi / scopedCache

Method scopedCache

valdi/src/valdi/standalone_runtime/InMemoryDiskCache.cpp:108–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108Ref<IDiskCache> InMemoryDiskCache::scopedCache(const Path& subfolder, bool /*allowsReadOutsideOfScope*/) const {
109 return Valdi::makeShared<InMemoryDiskCache>(_cache, toAbsolutePath(subfolder));
110}
111
112bool InMemoryDiskCache::removeForAbsolutePath(const Path& absolutePath) {
113 auto removed = false;

Callers 2

RuntimeMethod · 0.45
ShaderCacheMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected