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

◆ EnsureExtendedPrefixIfNeeded() [3/3]

static string System.IO.PathInternal.EnsureExtendedPrefixIfNeeded ( string path)
inlinestaticpackage

Definition at line 282 of file PathInternal.cs.

283 {
284 if (path != null && (path.Length >= 260 || EndsWithPeriodOrSpace(path)))
285 {
286 return EnsureExtendedPrefix(path);
287 }
288 return path;
289 }
static bool EndsWithPeriodOrSpace(string path)
static string EnsureExtendedPrefix(string path)

References System.IO.PathInternal.EndsWithPeriodOrSpace(), and System.IO.PathInternal.EnsureExtendedPrefix().