Files
BinaryObjectScanner/BinaryObjectScanner.Matching/FilePathMatch.cs
2023-08-26 22:53:35 -04:00

16 lines
439 B
C#

using System.IO;
namespace BinaryObjectScanner.Matching
{
/// <summary>
/// File path matching criteria
/// </summary>
public class FilePathMatch : PathMatch
{
/// <summary>
/// Constructor
/// </summary>
/// <param name="needle">String representing the search</param>
public FilePathMatch(string needle) : base($"{Path.DirectorySeparatorChar}{needle}", false, true) { }
}
}