WriteAll: revert 109a7c1

This commit is contained in:
OwnageIsMagic 2022-07-26 21:36:00 +03:00 committed by GitHub
parent 109a7c12ea
commit 5ca4efac31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ namespace SharpCompress.Writers
public static void WriteAll(this IWriter writer,
string directory,
string searchPattern = "*",
Predicate<string>? fileSearchFunc = null,
Func<string, bool>? fileSearchFunc = null,
SearchOption option = SearchOption.TopDirectoryOnly)
{
if (!Directory.Exists(directory))