Use List where possible

This commit is contained in:
Matt Nadareski
2024-11-20 17:10:03 -05:00
parent cf62be365c
commit 7122aa44a1
65 changed files with 69 additions and 66 deletions

View File

@@ -20,7 +20,7 @@ namespace BinaryObjectScanner.Protection
public class SafeLock : IPathCheck
{
/// <inheritdoc/>
public List<string> CheckDirectoryPath(string path, IEnumerable<string>? files)
public List<string> CheckDirectoryPath(string path, List<string>? files)
{
// Technically all need to exist but some might be renamed
var matchers = new List<PathMatchSet>