def root.of
import ezx@1.11.0.0/src/pub/plan.bend as Planimport Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K
454# the directory the package's paths are written from, "." for the project's
455def root.of(got: K.Walked) -> String:
456 match got:
457 case K.Walked{_h, root, _fs, _sums}:
458 root
459 case K.Asks{_at}:
460 "."
461 case K.Refused{_why}:
462 "."