Sequoia
Loading...
Searching...
No Matches
Functions
Streaming.hpp File Reference

Utilities for reading/writing to files. More...

#include "sequoia/Core/Meta/Concepts.hpp"
#include <filesystem>
#include <optional>

Go to the source code of this file.

Functions

std::string sequoia::report_failed_read (const std::filesystem::path &file)
 
std::string sequoia::report_failed_write (const std::filesystem::path &file)
 
std::optional< std::string > sequoia::read_to_string (const std::filesystem::path &file)
 
void sequoia::write_to_file (const std::filesystem::path &file, std::string_view text, std::ios_base::openmode mode)
 
template<std::invocable< std::string & > Fn>
void sequoia::read_modify_write (const std::filesystem::path &file, Fn fn)
 

Detailed Description

Utilities for reading/writing to files.