29 static TempFile
Create(engine::TaskProcessor& fs_task_processor);
42 std::string_view parent_path,
43 std::string_view name_prefix,
44 engine::TaskProcessor& fs_task_processor
48 TempFile(TempFile&& other)
noexcept =
default;
49 TempFile& operator=(TempFile&& other)
noexcept =
default;
53 static TempFile
Adopt(std::string path, engine::TaskProcessor& fs_task_processor);
63 TempFile(engine::TaskProcessor& fs_task_processor, fs::
blocking::TempFile temp_file);
65 utils::
NotNull<engine::TaskProcessor*> fs_task_processor_;