This commit is contained in:
2023-08-22 17:03:02 +02:00
parent abbb6df66d
commit fa29ee9eaf
5 changed files with 11 additions and 11 deletions

View File

@@ -69,6 +69,7 @@ public class DecompressCommand : CommandBase, IExecutableCommand, ITransportatio
foreach (var archiveContext in _archives)
{
await DecompressFile(archiveContext, resolvedTarget, contentWriterFactory, itemCreator);
await _commandSchedulerNotifier.RefreshContainer(Target);
}
}
@@ -81,9 +82,9 @@ public class DecompressCommand : CommandBase, IExecutableCommand, ITransportatio
var archive = archiveContext.Archive;
foreach (var archiveEntry in archive.Entries)
{
var subPath = string.Join(Constants.SeparatorChar, archiveEntry.Key.Split('\\'));
var subPath = archiveContext.TargetContainerName + Constants.SeparatorChar + string.Join(Constants.SeparatorChar, archiveEntry.Key.Split('\\'));
var entryPath = Target.GetChild(subPath);
if (archiveEntry.IsDirectory)
{
await itemCreator.CreateContainerAsync(resolvedTarget.Provider, entryPath);