def put.found

ezx@1.11.0.0 · src/ws/relock.bend:189

import ezx@1.11.0.0/src/ws/relock.bend as Relock
import Base
import ezx@1.11.0.0/src/ws/joint.bend as J

189# every listed ez.toml, the one at `path` holding `text`
190def put.found(fs: List<&2, J.Found>, +path: String, +text: String) -> List<&2, J.Found>:
191  match fs:
192    case []:
193      []
194    case J.Found{+fp, ft} <> tl:
195      rest = put.found(tl, path, text)
196      put.pick(String.eq(fp, path), fp, ft, text, rest)

Uses (5)

Used by (1)