fn normalizePath(comptime T: type, path: []T) RemoveDotDirsError!usize
[src]
Normalizes a Windows path with the following steps: 1) convert all forward slashes to back slashes 2) collapse duplicate back slashes 3) remove ‘.’ and ‘..’ directory parts Returns the length of the new path.