def text.at
import ezx@1.11.0.0/src/add/relock.bend as Relockimport Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K
49# the text of the file at a path among a walk's files, "" when none is there
50def text.at(fs: List<&2, K.Source>, +at: String) -> String:
51 match fs:
52 case []:
53 ""
54 case K.Source{+p, body} <> t:
55 found.pick(String.eq(p, at), body, _u => text.at(t, at))