def paths
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
import ezx@1.11.0.0/src/pkg/path.bend as Path
470# the files of a package, as paths of the project
471def paths(+root: String, fs: List<&2, K.Source>) -> List<&2, String>:
472 match fs:
473 case []:
474 []
475 case K.Source{at, _text} <> t:
476 Path.join(root, at) <> paths(root, t)