def root_path
import bend-lint-pack@0.1.1.0/common.bend as Commonimport Base
import bend-lint-pack@0.1.1.0/vendor/lint.bend as Lint
438def root_path(sources: List<&2, Lint.Source>) -> String:
439 match sources:
440 case Nil{}:
441 ""
442 case Con{Lint.Source{+path, text, root}, rest}:
443 Bool.pick(String, root, path, root_path(rest))