def reimport.head

ezx@1.11.0.0 · src/ledger/upgrade.bend:174

import ezx@1.11.0.0/src/ledger/upgrade.bend as Upgrade
import 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, "/"))

Uses (2)

Used by (2)