Plan.sync.check: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/tool/plan.bend as Plan Lines 1118-1126 of ezx@1.11.0.0/src/tool/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/tool/plan.bend&start_line=1118&end_line=1126 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # every tool the ledger names has to be pinned at a commit in the lock; why # the first that is not is refused, "" when every one is def sync.check(ts: List<&2, M.Tool>, +body: String) -> String: match ts: case []: "" case +h <> t: sync.step(Bool.not(sync.pinned(pin.in(body, M.tool.name(h)))), M.tool.name(h), _u => sync.check(t, body)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not 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=ezx@1.11.0.0/src/ledger/manifest.bend&name=Tool https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=tool.name https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/plan.bend&name=pin.in https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/plan.bend&name=sync.pinned https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/plan.bend&name=sync.step