1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 17:08:00 +02:00

Some StringViewification

This commit is contained in:
Brian Fiete 2020-09-18 05:12:35 -07:00
parent a215bac755
commit 9fabf0f7ee
2 changed files with 3 additions and 4 deletions

View file

@ -254,7 +254,7 @@ namespace System.IO
return (char8[]) InvalidFileNameChars.Clone();
} */
public static void GetFileNameWithoutExtension(String inPath, String outFileName)
public static void GetFileNameWithoutExtension(StringView inPath, String outFileName)
{
int lastSlash = Math.Max(inPath.LastIndexOf('\\'), inPath.LastIndexOf('/'));