From a11415518911db25c5a7810dbd2e9599a933c4ba Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 27 Jan 2026 11:48:05 +0000 Subject: [PATCH 1/2] Initial plan From 6c866324b2d1d61c2aed78e189adb479e6a8d3a0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 27 Jan 2026 11:49:29 +0000 Subject: [PATCH 2/2] Fix grammatical errors in ArcFactory comments Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com> --- src/SharpCompress/Factories/ArcFactory.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SharpCompress/Factories/ArcFactory.cs b/src/SharpCompress/Factories/ArcFactory.cs index c9611d7c..469ee136 100644 --- a/src/SharpCompress/Factories/ArcFactory.cs +++ b/src/SharpCompress/Factories/ArcFactory.cs @@ -26,11 +26,11 @@ namespace SharpCompress.Factories public override bool IsArchive(Stream stream, string? password = null) { //You may have to use some(paranoid) checks to ensure that you actually are - //processing an ARC file, since other archivers also adopted to the idea of putting - //a 01Ah byte at offset 0, namely: Hyper archiver. To check if you have a + //processing an ARC file, since other archivers also adopted the idea of putting + //a 01Ah byte at offset 0, namely the Hyper archiver. To check if you have a //Hyper - archive, check the next two bytes for "HP" or "ST"(or look below for - //"HYP").Also, ZOO archiver also does put a 01Ah at the start of the file, - //see: ZOO entry below. + //"HYP").Also the ZOO archiver also does put a 01Ah at the start of the file, + //see the ZOO entry below. var bytes = new byte[2]; stream.Read(bytes, 0, 2); return bytes[0] == 0x1A && bytes[1] < 10; //rather thin, but this is all we have