def home

bolt@1.26.0.0 · src/config.bend:225

import bolt@1.26.0.0/src/config.bend as Config
import Base

225# a directory resolved against the working directory, as the names of the
226# directories from the root to it, innermost first: `sub/../p3/` under
227# `/w/p1` is `[p3, w]`, and `` is the working directory itself
228def home(cwd: String, dir: String) -> List<&2, String>:
229  home.segs(String.to_list(absolute(cwd, dir)), [], [])

Uses (5)

Used by (2)