popLastSegment
private fn
void popLastSegment(ref string path) @safeRemove the last path segment from path.
This is a small helper used by the RFC 3986 remove-dot-segments algorithm.
Parameters
path | Path string to mutate. |