def summary

bolt@1.27.0.0 · src/lint/plan.bend:620

import bolt@1.27.0.0/src/lint/plan.bend as Plan
import Base
import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy
import bolt@1.27.0.0/src/finding.bend as F

620# `clean`, or the counts
621def summary(+gs: List<&2, F.Graded>) -> String:
622  Lazy.stop(String, List.is_empty(&2, F.Graded, gs), "clean",
623    _u => count(errors(gs), "error") ++ ", " ++ count(warnings(gs), "warning"))

Uses (9)

Used by (1)