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

◆ GetFileName_Unix()

static string System.IO.Compression.ZipArchiveEntry.GetFileName_Unix ( string path)
inlinestaticprivate

Definition at line 1035 of file ZipArchiveEntry.cs.

1036 {
1037 int length = path.Length;
1038 int num = length;
1039 while (--num >= 0)
1040 {
1041 if (path[num] == '/')
1042 {
1043 return path.Substring(num + 1);
1044 }
1045 }
1046 return path;
1047 }

References System.length.

Referenced by System.IO.Compression.ZipArchiveEntry.ParseFileName().