Merge pull request #740 from AlissaSabre/issue_739

Make ArchiveFactory.IsArchive(Stream, ...) public. Fix #739
This commit is contained in:
Adam Hathcock
2023-05-10 09:56:50 +01:00
committed by GitHub

View File

@@ -175,7 +175,7 @@ public static class ArchiveFactory
return IsArchive(s, out type);
}
private static bool IsArchive(Stream stream, out ArchiveType? type)
public static bool IsArchive(Stream stream, out ArchiveType? type)
{
type = null;
stream.CheckNotNull(nameof(stream));