#pragma once #include #include #include using std::experimental::nullopt; using std::experimental::optional; struct Config; struct IndexFile; std::unique_ptr LoadCachedIndex(Config* config, const std::string& filename); optional LoadCachedFileContents(Config* config, const std::string& filename); void WriteToCache(Config* config, IndexFile& file);