def reimport.head
import ezx@1.11.0.0/src/ledger/upgrade.bend as Upgradeimport Base
174# what an import line that names a package starts with: `import <hash>/`.
175# `import 0x<hash>/<file>.bend as P` is the only shape bend has, and the match
176# is exact at column 0, so an indented import is not rewritten, and neither is
177# a line that names the hash with no `/` after it.
178def reimport.head(+hash: String) -> String:
179 String.append("import ", String.append(hash, "/"))