test
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user