21std::expected<std::vector<std::uint8_t>,
Error>
readFile(
const std::filesystem::path &path);
29std::expected<std::vector<std::string>,
Error>
readLines(
const std::filesystem::path &path);
38std::expected<void, Error>
writeLines(
const std::filesystem::path &path,
39 const std::vector<std::string> &lines);
48std::expected<void, Error>
writeFile(
const std::filesystem::path &path,
49 std::span<const std::uint8_t> data);
58std::expected<void, Error>
writeFile(
const std::filesystem::path &path, std::string_view text);