From a7320ac32c916a224b5a7f186f8a2a15e7c17bc7 Mon Sep 17 00:00:00 2001 From: Macocian Alexandru Victor Date: Fri, 13 Feb 2026 06:14:54 -0800 Subject: [PATCH] Update dependencies (#1433) Co-authored-by: Alexandru Macocian --- .../Services/TarGz/TarGzExtractor.cs | 10 +--- Directory.Packages.props | 58 +++++++++---------- 2 files changed, 32 insertions(+), 36 deletions(-) diff --git a/Daybreak.Core/Services/TarGz/TarGzExtractor.cs b/Daybreak.Core/Services/TarGz/TarGzExtractor.cs index 45fa3d4c..013bd7eb 100644 --- a/Daybreak.Core/Services/TarGz/TarGzExtractor.cs +++ b/Daybreak.Core/Services/TarGz/TarGzExtractor.cs @@ -44,7 +44,7 @@ internal sealed class TarGzExtractor( // Use ReaderFactory which properly handles nested archives like .tar.gz using var stream = File.OpenRead(sourceFile); - using var reader = ReaderFactory.Open(stream); + using var reader = ReaderFactory.OpenReader(stream, new ReaderOptions { ExtractFullPath = true, Overwrite = true }); var processedEntries = 0; @@ -68,11 +68,7 @@ internal sealed class TarGzExtractor( progressTracker(0.5, entryKey); // Extract the entry - reader.WriteEntryToDirectory(destinationDirectory, new ExtractionOptions - { - ExtractFullPath = true, - Overwrite = true - }); + reader.WriteEntryToDirectory(destinationDirectory); processedEntries++; } @@ -97,4 +93,4 @@ internal sealed class TarGzExtractor( return false; } } -} \ No newline at end of file +} diff --git a/Directory.Packages.props b/Directory.Packages.props index c96a8e3b..6c86c847 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,7 +6,7 @@ - + @@ -15,36 +15,36 @@ - - + + - - - - - - - - + + + + + + + + - - + + - - - - + + + + - + @@ -53,24 +53,24 @@ - - - - - + + + + + - - - + + + - + - + - + \ No newline at end of file