#include #include #include "utils.hpp" namespace Fan { Opt read_entire_file(const std::string& file_path) { std::ifstream file(file_path); if (!file) { return std::nullopt; } std::ostringstream buffer; buffer << file.rdbuf(); return buffer.str(); } } // namespace Fan