Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EndsInDirectorySeparator() [2/4]

static bool System.IO.PathInternal.EndsInDirectorySeparator ( ReadOnlySpan< char > path)
inlinestaticpackage

Definition at line 236 of file PathInternal.cs.

237 {
238 if (path.Length > 0)
239 {
240 return IsDirectorySeparator(path[path.Length - 1]);
241 }
242 return false;
243 }
static bool IsDirectorySeparator(char c)

References System.IO.PathInternal.IsDirectorySeparator(), and System.ReadOnlySpan< T >.Length.