Files
SabreTools.Matching/FilePathMatch.cs
2023-09-16 21:23:21 -04:00

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) { }
}
}