| 632 | #if USE_EDITOR |
| 633 | |
| 634 | void BinaryAsset::onRename(const StringView& newPath) |
| 635 | { |
| 636 | ScopeLock lock(Locker); |
| 637 | |
| 638 | // We don't support packages now |
| 639 | ASSERT(!Storage->IsPackage() && !Storage->IsReadOnly() && Storage->GetEntriesCount() == 1); |
| 640 | |
| 641 | // Rename storage |
| 642 | Storage->OnRename(newPath); |
| 643 | } |
| 644 | |
| 645 | #endif |
nothing calls this directly
no test coverage detected