Files
Test/Library/PackageCache/com.unity.collab-proxy@4628d2ba6ea4/Editor/Diff/Asset/Common/SearchMatcher.cs
T
2026-11-01 23:39:55 +02:00

16 lines
382 B
C#

using System;
namespace Unity.PlasticSCM.Editor.Diff.Asset.Common
{
internal static class SearchMatcher
{
internal static bool Contains(string text, string search)
{
if (string.IsNullOrEmpty(text))
return false;
return text.IndexOf(
search, StringComparison.OrdinalIgnoreCase) >= 0;
}
}
}