29 static TempFile
Create(engine::TaskProcessor& fs_task_processor);
38 Create(std::string_view parent_path, std::string_view name_prefix, engine::TaskProcessor& fs_task_processor);
41 TempFile(TempFile&& other)
noexcept =
default;
42 TempFile& operator=(TempFile&& other)
noexcept =
default;
46 static TempFile
Adopt(std::string path, engine::TaskProcessor& fs_task_processor);
56 TempFile(engine::TaskProcessor& fs_task_processor, fs::
blocking::TempFile temp_file);
58 utils::
NotNull<engine::TaskProcessor*> fs_task_processor_;