Decompress command

This commit is contained in:
2023-08-22 13:24:52 +02:00
parent 506636789c
commit 5905f62d66
6 changed files with 207 additions and 2 deletions

View File

@@ -63,6 +63,9 @@ public class LocalItemCreator : ItemCreatorBase<ILocalContentProvider>
try
{
_logger.LogTrace("Trying to create element with path {Path}", path);
var directory = Path.GetDirectoryName(path);
if (directory is { } && !Directory.Exists(directory)) Directory.CreateDirectory(directory);
await using (File.Create(path))
{
}