MCPcopy Create free account
hub / github.com/Tencent/libpag / WriteFile

Method WriteFile

src/rendering/caches/DiskCache.cpp:88–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88bool DiskCache::WriteFile(const std::string& key, std::shared_ptr<tgfx::Data> data) {
89 return GetInstance()->writeFile(key, data);
90}
91
92DiskCache::DiskCache() {
93 auto cacheDir = Platform::Current()->getCacheDir();

Callers

nothing calls this directly

Calls 1

writeFileMethod · 0.80

Tested by

no test coverage detected