diff --git a/src/SharpCompress/Archives/IArchiveExtensions.cs b/src/SharpCompress/Archives/IArchiveExtensions.cs index 4ab4129b..00aae468 100644 --- a/src/SharpCompress/Archives/IArchiveExtensions.cs +++ b/src/SharpCompress/Archives/IArchiveExtensions.cs @@ -40,19 +40,17 @@ public static class IArchiveExtensions } /// - /// Extract to specific directory with progress reporting and cancellation support + /// Extract to specific directory with progress reporting /// /// The archive to extract. /// The folder to extract into. /// Extraction options. /// Optional progress reporter for tracking extraction progress. - /// Optional cancellation token. public static void WriteToDirectory( this IArchive archive, string destinationDirectory, ExtractionOptions? options, - IProgress? progress, - CancellationToken cancellationToken = default + IProgress? progress ) { // Prepare for progress reporting @@ -65,8 +63,6 @@ public static class IArchiveExtensions // Extract foreach (var entry in archive.Entries) { - cancellationToken.ThrowIfCancellationRequested(); - if (entry.IsDirectory) { var dirPath = Path.Combine(