def block

ezx@1.11.0.0 · src/ledger/ignore.bend:302

import ezx@1.11.0.0/src/ledger/ignore.bend as Ignore
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M

302# the allowlist block: the missing rules, then one line per vendored hash
303def block(+ds: List<&2, M.Dep>, +ls: List<&2, Line>) -> List<&2, String>:
304  List.append(&2, String,
305    need(Bool.or(has(ls, Dir{}), List.is_empty(&2, String, vended(ds))), rules(ls)),
306    allows(ds))

Uses (13)

Used by (1)