MCPcopy Create free account
hub / github.com/black-sliver/PopTracker / TestCache

Method TestCache

test/http/test_http_cache.cpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16class TestCache : public HTTPCache {
17public:
18 explicit TestCache(asio::io_context* ioContext)
19 : HTTPCache(ioContext, tempDir.tempPath(), tempDir.tempPath())
20 {
21 }
22
23 void TestGetCached(const std::string& uri, const std::function<void(bool, std::string)>& cb, const int redirectLimit)
24 {

Callers

nothing calls this directly

Calls 1

tempPathMethod · 0.80

Tested by

no test coverage detected