Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
88
bool DiskCache::WriteFile(const std::string& key, std::shared_ptr<tgfx::Data> data) {
89
return GetInstance()->writeFile(key, data);
90
}
91
92
DiskCache::DiskCache() {
93
auto cacheDir = Platform::Current()->getCacheDir();
Callers
nothing calls this directly
Calls
1
writeFile
Method · 0.80
Tested by
no test coverage detected