mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-09 21:32:11 +00:00
16 lines
439 B
C#
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) { }
|
|
}
|
|
} |