static std::string ReadFile(const std::filesystem::path &path)
Result< std::string > ReadAllText(std::string_view path)
Read path (resolved via ResolvePath) into a string.
std::expected< void, Error > Status
Status WriteAllText(std::string_view path, std::string_view text)
Write text to path (resolved via ResolvePath), creating its directory.