ContentProvider more async

This commit is contained in:
2023-08-24 15:50:11 +02:00
parent f1daca788e
commit ff1f6e1c3e
31 changed files with 136 additions and 69 deletions

View File

@@ -26,8 +26,8 @@ public class LocalItemMover : IItemMover<ILocalContentProvider>
_logger.LogTrace("Start renaming item {FullName}", fullName);
try
{
var source = contentProvider.GetNativePath(fullName);
var destination = contentProvider.GetNativePath(newPath);
var source = await contentProvider.GetNativePathAsync(fullName);
var destination = await contentProvider.GetNativePathAsync(newPath);
if (File.Exists(source.Path))
{