wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::utils::fs Namespace Reference

Functions

auto file_exists_in_dir (const std::filesystem::path &root, const std::filesystem::path &file) -> expected< std::filesystem::path >
 
auto read_file_to_string (const std::filesystem::path &path) -> std::string
 
auto read_file_to_bin (const std::filesystem::path &path) -> std::vector< uint8_t >
 

Function Documentation

◆ file_exists_in_dir()

auto wren::utils::fs::file_exists_in_dir ( const std::filesystem::path & root,
const std::filesystem::path & file ) -> expected<std::filesystem::path>
Here is the caller graph for this function:

◆ read_file_to_bin()

auto wren::utils::fs::read_file_to_bin ( const std::filesystem::path & path) -> std::vector<uint8_t>
Here is the caller graph for this function:

◆ read_file_to_string()

auto wren::utils::fs::read_file_to_string ( const std::filesystem::path & path) -> std::string