Furrent
|
#include <cstdint>
#include <filesystem>
#include <string>
#include <util/result.hpp>
#include <vector>
Go to the source code of this file.
Namespaces | |
fur | |
Common types used in all the project. | |
fur::platform | |
fur::platform::io | |
Typedefs | |
template<typename T > | |
using | fur::platform::io::IOResult = util::Result< T, IOError > |
Empty result for handling IO errors. More... | |
Functions | |
IOResult< Empty > | fur::platform::io::touch (const std::string &filename, int64_t size) |
IOResult< bool > | fur::platform::io::exists (const std::string &filename) |
IOResult< Empty > | fur::platform::io::remove (const std::string &filename) |
IOResult< Empty > | fur::platform::io::write_bytes (const std::string &filename, const std::vector< uint8_t > &bytes, int64_t offset) |
IOResult< std::string > | fur::platform::io::create_directories (const std::string &path, bool skip_last) |
IOResult< std::string > | fur::platform::io::load_file_text (const std::string &filepath) |