Plan.gone: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/add/plan.bend as Plan Lines 528-535 of ezx@1.11.0.0/src/add/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/add/plan.bend&start_line=528&end_line=535 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # the committed tree a re-add moves off: the old hash of a vendored entry # when the hash moved, it is safe to remove, and nothing left names it def gone(+old: M.Dep, +hash: String, +left: List<&2, M.Dep>) -> List<&2, String>: Bool.pick(List<&2, String>, Bool.and(M.source.vendor(M.source.dep(old)), Bool.and(Bool.not(String.eq(M.dep.hash(old), hash)), Bool.and(safe(M.dep.hash(old)), Bool.not(holds(left, M.dep.hash(old)))))), [M.dep.hash(old)], []) Uses (12): 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=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/plan.bend&name=holds https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/plan.bend&name=safe 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=source.dep https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=source.vendor