Relock.moved.of: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/add/relock.bend as Relock Lines 148-158 of ezx@1.11.0.0/src/add/relock.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/add/relock.bend&start_line=148&end_line=158 import Base # what is added after the lock's reason when the lock refuses: that nothing # was written, and, when the add moves a dependency's hash, where the old one # may still be imported from def moved.of(moved: Bool, +name: String, +old: String, +new: String) -> String: match moved: case True{}: "\nez: ez add moves " ++ name ++ " from " ++ old ++ " to " ++ new ++ "; a .bend file that imports " ++ old ++ " has to name " ++ new ++ " first, or `ez lock --upgrade --package " ++ name ++ "` moves it" case False{}: "" Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append