2023-06-21 13:28:15 -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);
|
|
|
|
}
|
|
|
|
}
|
2023-06-19 23:21:21 -04:00
|
|
|
}
|