You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
293 B
C#

1 year ago
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);
}
}
}