Firstborn/Library/PackageCache/com.unity.ide.rider@3.0.16/Rider/Editor/Util/StringUtils.cs

14 lines
293 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
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);
}
}
}