def lib.said

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

import ezx@1.11.0.0/src/doctor/plan.bend as Plan
import Base

358# BEND_LIB judged against the lock: every package the lock names has to be on
359# disk, because bend resolves a hub import during the check and a sandbox has
360# no network to fall back on, and so does every name's file, since bend
361# would otherwise ask the hub what the name names
362def lib.said(all: Bool, +dir: String, +count: Nat, +names: Nat, gone: List<&2, String>, bad: List<&2, String>) -> Note:
363  match all:
364    case True{}:
365      Note{False{}, "BEND_LIB: " ++ dir ++ ", all " ++
366        plural(count, "locked package", "locked packages") ++ " present" ++ names.said(names)}
367    case False{}:
368      Note{True{}, "BEND_LIB: " ++ dir ++ " " ++ lib.faults(gone, bad) ++ "; run ez fetch"}

Uses (9)

Used by (1)