mirror of
https://github.com/MaskRay/ccls.git
synced 2025-04-06 00:42:09 +00:00
17 lines
429 B
C++
17 lines
429 B
C++
#pragma once
|
|
|
|
#include <optional.h>
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
struct Config;
|
|
struct IndexFile;
|
|
|
|
std::unique_ptr<IndexFile> LoadCachedIndex(Config* config,
|
|
const std::string& filename);
|
|
|
|
optional<std::string> LoadCachedFileContents(Config* config,
|
|
const std::string& filename);
|
|
|
|
void WriteToCache(Config* config, IndexFile& file); |