Method ListFilesAsync(string, bool, int, int, Func<string, string, bool>?, CancellationToken)
Lists files in the given directory.
Task<List<GenericFileInfo>> ListFilesAsync(string directory, bool recursive, int maxDepth, int minDepth, Func<string, string, bool>? directoryFilter = null, CancellationToken ct = default)