Skip to content

Commit

Permalink
Merge pull request #740 from AlissaSabre/issue_739
Browse files Browse the repository at this point in the history
Make ArchiveFactory.IsArchive(Stream, ...) public. Fix #739
  • Loading branch information
adamhathcock committed May 10, 2023
2 parents 33cd1f3 + cf722a7 commit b52a899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SharpCompress/Archives/ArchiveFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public static bool IsArchive(string filePath, out ArchiveType? type)
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));
Expand Down

0 comments on commit b52a899

Please sign in to comment.