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

◆ EndsWithPeriodOrSpace() [3/3]

static bool System.IO.PathInternal.EndsWithPeriodOrSpace ( string path)
inlinestaticpackage

Definition at line 267 of file PathInternal.cs.

268 {
269 if (string.IsNullOrEmpty(path))
270 {
271 return false;
272 }
273 char c = path[path.Length - 1];
274 if (c != ' ')
275 {
276 return c == '.';
277 }
278 return true;
279 }