MCPcopy Create free account
hub / github.com/chronoxor/CppServer / ClearStaticContent

Method ClearStaticContent

include/server/http/https_server.h:58–58  ·  view source on GitHub ↗

Clear static content cache

Source from the content-addressed store, hash-verified

56 void RemoveStaticContent(const CppCommon::Path& path) { _cache.remove_path(path); }
57 //! Clear static content cache
58 void ClearStaticContent() { _cache.clear(); }
59
60 //! Watchdog the static content cache
61 void Watchdog(const CppCommon::UtcTimestamp& utc = CppCommon::UtcTimestamp()) { _cache.watchdog(utc); }

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected