Unravel Engine C++ Reference
|
Functions | |
auto | sync_file (const fs::path &temp, fs::error_code &ec) noexcept -> bool |
auto | atomic_rename_file (const fs::path &src, const fs::path &dst, fs::error_code &ec) noexcept -> bool |
auto | make_temp_path (const fs::path &dir, fs::path &out, fs::error_code &ec) noexcept -> bool |
auto | atomic_copy_file (const fs::path &src, const fs::path &dst, fs::error_code &ec) noexcept -> bool |
void | atomic_write_file (const fs::path &dst, const std::function< void(const fs::path &)> &callback, fs::error_code &ec) noexcept |
template<typename T > | |
auto | resolve_meta_file (const asset_handle< T > &asset) -> fs::path |
template<typename T > | |
auto | atomic_save_to_file (const fs::path &key, const asset_handle< T > &obj) -> bool |
template<typename T > | |
auto | atomic_save_to_file (const fs::path &key, const T &obj) -> bool |
|
noexcept |
Definition at line 156 of file asset_writer.cpp.
|
noexcept |
Definition at line 119 of file asset_writer.cpp.
auto unravel::asset_writer::atomic_save_to_file | ( | const fs::path & | key, |
const asset_handle< T > & | obj ) -> bool |
Definition at line 43 of file asset_writer.h.
auto unravel::asset_writer::atomic_save_to_file | ( | const fs::path & | key, |
const T & | obj ) -> bool |
Definition at line 68 of file asset_writer.h.
|
noexcept |
Definition at line 202 of file asset_writer.cpp.
|
noexcept |
Definition at line 130 of file asset_writer.cpp.
auto unravel::asset_writer::resolve_meta_file | ( | const asset_handle< T > & | asset | ) | -> fs::path |
Definition at line 29 of file asset_writer.h.
|
noexcept |
Definition at line 67 of file asset_writer.cpp.