pathTrimEnd

fnIStr pathTrimEnd(IStr path, PathSepStyle style = PathSepStyle.native) @safe nothrow @nogc

Removes path separators from the end of the path.