def remove_dots

bend-kit-url@0.4.1.0 · url.bend:484

import bend-kit-url@0.4.1.0/url.bend as Url
import Base

484# §5.2.4 for an absolute path: "." and ".." segments go away.
485def remove_dots(path: String) -> String:
486  dots.abs(String.split(path, '/'))

Uses (4)

Used by (1)