def lockable.named

ezx@1.11.0.0 · src/lock/plan.bend:488

import ezx@1.11.0.0/src/lock/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/lock.bend as L
import ezx@1.11.0.0/src/ledger/manifest.bend as M

488# whether a lock with names can be written so that it reads back
489def lockable.named(ns: List<&2, L.Name>, ps: List<&2, L.Pack>, ts: List<&2, M.Tool>, hub: String) -> Bool:
490  Bool.and(names.ok(ns), lockable(ps, ts, hub))

Uses (9)

Used by (1)