WriteAll: update delegate type

This commit is contained in:
OwnageIsMagic
2022-07-19 04:03:26 +03:00
committed by GitHub
parent 2946a35b0e
commit 109a7c12ea

View File

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