def root.of

ezx@1.11.0.0 · src/add/plan.bend:738

import ezx@1.11.0.0/src/add/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K

738# the directory its paths are written from, "." when it made none
739def root.of(walk: K.Walked) -> String:
740  match walk:
741    case K.Walked{_h, root, _fs, _ss}:
742      root
743    case K.Asks{_at}:
744      "."
745    case K.Refused{_why}:
746      "."

Uses (2)

Used by (1)