def anchor.path
import ezx@1.11.0.0/src/pkg/path.bend as Pathimport Base
183# an absolute path, or a `git@` URL, as it is, or a relative path taken from
184# `here`
185def anchor.path(kept: Bool, +here: String, +path: String) -> String:
186 match kept:
187 case True{}:
188 path
189 case False{}:
190 join(here, path)