This commit is contained in:
2026-11-24 15:51:02 +01:00
parent cca4d73e41
commit f4aa17114a
22092 changed files with 5042406 additions and 0 deletions
@@ -0,0 +1,21 @@
using System.Linq;
namespace Unity.PlasticSCM.Editor
{
internal static class StackTraceChecker
{
internal static bool IsPlasticStackTrace(string stackTrace)
{
if (stackTrace == null)
return false;
return PlasticNamespacePrefixes.Any(stackTrace.Contains);
}
static readonly string[] PlasticNamespacePrefixes = new[] {
"Codice.",
"GluonGui.",
"PlasticGui."
};
}
}