| 975 | } |
| 976 | |
| 977 | bool Content::FastTmpAssetClone(const StringView& path, String& resultPath) |
| 978 | { |
| 979 | ASSERT(path.HasChars()); |
| 980 | |
| 981 | const String dstPath = Globals::TemporaryFolder / Guid::New().ToString(Guid::FormatType::D) + ASSET_FILES_EXTENSION_WITH_DOT; |
| 982 | |
| 983 | if (CloneAssetFile(dstPath, path, Guid::New())) |
| 984 | return true; |
| 985 | |
| 986 | resultPath = dstPath; |
| 987 | return false; |
| 988 | } |
| 989 | |
| 990 | class CloneAssetFileTask : public MainThreadTask |
| 991 | { |