Relock.tail.dep: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/add/relock.bend as Relock Lines 160-164 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=160&end_line=164 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M def tail.dep(+dep: M.Dep, +old: M.Dep) -> String: "\nez: ez add wrote nothing, since it writes ez.toml and ez.lock.toml together" ++ moved.of(Bool.and(Bool.not(String.is_empty(M.dep.hash(old))), Bool.not(String.eq(M.dep.hash(old), M.dep.hash(dep)))), M.dep.name(dep), M.dep.hash(old), M.dep.hash(dep)) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not 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 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/relock.bend&name=moved.of https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Dep https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=dep.hash https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=dep.name