MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / MetaCacheSink

Method MetaCacheSink

launcher/net/MetaCacheSink.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48
49MetaCacheSink::MetaCacheSink(MetaEntryPtr entry, ChecksumValidator * md5sum, bool is_eternal)
50 :Net::FileSink(entry->getFullPath()), m_entry(entry), m_md5Node(md5sum), m_is_eternal(is_eternal)
51{
52 addValidator(md5sum);
53}
54
55Task::State MetaCacheSink::initCache(QNetworkRequest& request)
56{

Callers

nothing calls this directly

Calls 1

getFullPathMethod · 0.80

Tested by

no test coverage detected