def reimport.many
import ezx@1.11.0.0/src/ledger/upgrade.bend as Upgradeimport Base
218# a source file with every moved import hash replaced, in order. The text is
219# cut at its newlines once and joined back with them, so a line that names no
220# moved hash is left as it was, and so is the newline the file ends with, or
221# its lack of one.
222def reimport.many(+ss: List<&2, Swap>, +text: String) -> String:
223 String.join(reimport.many.lines(ss, String.lines(text)), "\n")