mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-05-06 20:36:41 +00:00
Merge pull request #740 from AlissaSabre/issue_739
Make ArchiveFactory.IsArchive(Stream, ...) public. Fix #739
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user