MCPcopy Create free account
hub / github.com/MaskRay/ccls / removeCache

Function removeCache

src/pipeline.cc:814–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812}
813
814void removeCache(const std::string &path) {
815 if (g_config->cache.directory.size()) {
816 std::lock_guard lock(g_index_mutex);
817 g_index.erase(path);
818 }
819}
820
821std::optional<std::string> loadIndexedContent(const std::string &path) {
822 if (g_config->cache.directory.empty()) {

Callers 1

textDocument_didCloseMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected