|
Unravel Engine C++ Reference
|
#include "asset_writer.h"#include <fcntl.h>#include <unistd.h>#include <chrono>#include <random>#include <thread>Go to the source code of this file.
Namespaces | |
| namespace | unravel |
| namespace | unravel::asset_writer |
Macros | |
| #define | ATOMIC_SAVE |
Functions | |
| auto | unravel::asset_writer::sync_file (const fs::path &temp, fs::error_code &ec) noexcept -> bool |
| auto | unravel::asset_writer::atomic_rename_file (const fs::path &src, const fs::path &dst, fs::error_code &ec) noexcept -> bool |
| auto | unravel::asset_writer::make_temp_path (const fs::path &dir, fs::path &out, fs::error_code &ec) noexcept -> bool |
| auto | unravel::asset_writer::atomic_copy_file (const fs::path &src, const fs::path &dst, fs::error_code &ec) noexcept -> bool |
| void | unravel::asset_writer::atomic_write_file (const fs::path &dst, const std::function< void(const fs::path &)> &callback, fs::error_code &ec) noexcept |
| #define ATOMIC_SAVE |
Definition at line 66 of file asset_writer.cpp.