From 8b36bda04b72e90c39f853670b99583a45b6d9e3 Mon Sep 17 00:00:00 2001 From: Tom Longhurst <30480171+thomhurst@users.noreply.github.com> Date: Thu, 1 Jan 2026 22:21:24 +0000 Subject: [PATCH] docs: Add XML documentation to IZip interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add comprehensive XML documentation for the IZip interface including: - Interface-level summary describing ZIP compression/decompression functionality - ZipFolder method overloads with parameter and return value documentation - UnZipToFolder method overloads with parameter and return value documentation Fixes #1517 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/ModularPipelines/Context/IZip.cs | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/ModularPipelines/Context/IZip.cs b/src/ModularPipelines/Context/IZip.cs index 5c5c8330bf..5c2dc1ac01 100644 --- a/src/ModularPipelines/Context/IZip.cs +++ b/src/ModularPipelines/Context/IZip.cs @@ -4,13 +4,42 @@ namespace ModularPipelines.Context; +/// +/// Provides ZIP compression and decompression functionality for folders and files. +/// public interface IZip { + /// + /// Compresses a folder into a ZIP file using optimal compression level. + /// + /// The folder to compress. + /// The path where the ZIP file will be created. + /// A representing the created ZIP file. public File ZipFolder(Folder folder, string outputPath) => ZipFolder(folder, outputPath, CompressionLevel.Optimal); + /// + /// Compresses a folder into a ZIP file with the specified compression level. + /// + /// The folder to compress. + /// The path where the ZIP file will be created. + /// The level of compression to use. + /// A representing the created ZIP file. public File ZipFolder(Folder folder, string outputPath, CompressionLevel compressionLevel); + /// + /// Extracts a ZIP file to a folder, overwriting existing files by default. + /// + /// The path to the ZIP file to extract. + /// The path where the contents will be extracted. + /// A representing the extraction destination folder. public Folder UnZipToFolder(string zipPath, string outputFolderPath) => UnZipToFolder(zipPath, outputFolderPath, true); + /// + /// Extracts a ZIP file to a folder with control over whether to overwrite existing files. + /// + /// The path to the ZIP file to extract. + /// The path where the contents will be extracted. + /// If true, existing files will be overwritten; otherwise, an exception is thrown for conflicts. + /// A representing the extraction destination folder. public Folder UnZipToFolder(string zipPath, string outputFolderPath, bool overwriteFiles); } \ No newline at end of file