mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 17:08:00 +02:00
Some StringViewification
This commit is contained in:
parent
a215bac755
commit
9fabf0f7ee
2 changed files with 3 additions and 4 deletions
|
@ -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('/'));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue