popLastSegment

private fnvoid popLastSegment(ref string path) @safe

Remove the last path segment from path.

This is a small helper used by the RFC 3986 remove-dot-segments algorithm.

Parameters

pathPath string to mutate.