mirror of
https://github.com/SabreTools/SabreTools.Matching.git
synced 2026-02-12 21:32:19 +00:00
16 lines
430 B
C#
16 lines
430 B
C#
|
|
using System.IO;
|
||
|
|
|
||
|
|
namespace SabreTools.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) { }
|
||
|
|
}
|
||
|
|
}
|