Singularity/Library/PackageCache/com.unity.ide.rider@3.0.20/Rider/Editor/Util/StringUtils.cs
2024-05-06 11:45:45 -07:00

14 lines
293 B
C#

using System.IO;
namespace Packages.Rider.Editor.Util
{
internal static class StringUtils
{
public static string NormalizePath(this string path)
{
return path.Replace(Path.DirectorySeparatorChar == '\\'
? '/'
: '\\', Path.DirectorySeparatorChar);
}
}
}