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

◆ StartsWithDirectorySeparator()

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

Definition at line 29 of file PathInternal.cs.

30 {
31 if (path.Length > 0)
32 {
33 return IsDirectorySeparator(path[0]);
34 }
35 return false;
36 }
static bool IsDirectorySeparator(char c)

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

Referenced by System.IO.Enumeration.FileSystemEntry.ToSpecifiedFullPath(), System.IO.Path.TryJoin(), and System.IO.Path.TryJoin().