def up.go

ezx@1.11.0.0 · src/pkg/path.bend:40

import ezx@1.11.0.0/src/pkg/path.bend as Path
import Base

40# a climb against what has been kept: it cancels the last real component
41def up.go(+head: String, rest: List<&2, String>) -> List<&2, String>:
42  up.back(String.eq(head, ".."), head, rest)

Uses (4)

Used by (1)