def asks.of

ezx@1.11.0.0 · src/doctor/plan.bend:952

import ezx@1.11.0.0/src/doctor/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/doctor/world.bend as DW
import ezx@1.11.0.0/src/ledger/manifest.bend as M

952# every question doctor asks on what a World read, besides the lock check's
953def asks.of(ledger: M.Read, +cc: String, +lib: String, +lock: Maybe<&2, String>) -> List<&2, DW.Ask>:
954  List.append(&2, DW.Ask, probe.asks(programs(cc)),
955    List.append(&2, DW.Ask, lib.asks(lib.at(lib), locked.hashes(locked.of(lock))),
956      List.append(&2, DW.Ask, names.asks(lock.names(lock)), sources.asks(ledger))))

Uses (15)

Used by (2)