def root.of
import ezx@1.11.0.0/src/add/plan.bend as Planimport 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 "."