Moved.rewrite: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/moved.bend as Moved Lines 170-176 of ezx@1.11.0.0/src/ws/moved.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/moved.bend&start_line=170&end_line=176 import Base import ezx@1.11.0.0/src/ledger/upgrade.bend as U import ezx@1.11.0.0/src/pkg/pkg.bend as K # every committed file with every moved hash rewritten def rewrite(+ss: List<&2, U.Swap>, fs: List<&2, K.Source>) -> List<&2, K.Source>: match fs: case []: [] case K.Source{at, text} <> tl: K.Source{at, U.reimport.many(ss, text)} <> rewrite(ss, tl) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/upgrade.bend&name=Swap https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/upgrade.bend&name=reimport.many https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Source