def listing.notes

ezx@1.11.0.0 · src/ws/doctor.bend:219

import ezx@1.11.0.0/src/ws/doctor.bend as Doctor
import Base
import ezx@1.11.0.0/src/doctor/plan.bend as DP
import ezx@1.11.0.0/src/lock/world.bend as LW
import ezx@1.11.0.0/src/ws/joint.bend as J
import ezx@1.11.0.0/src/ws/moved.bend as Mv

219# the members' reports over the sources as git listed them
220def listing.notes(
221  listing: LW.Listing,
222  +text: String,
223  +found: List<&2, J.Found>,
224  +lock: String
225) -> List<&2, DP.Note>:
226  match listing:
227    case LW.Listed{+fs}:
228      resolved.notes(J.resolved(text, found, J.files.of(fs)), fs, Mv.locked(lock))
229    case LW.Unlisted{_why}:
230      [DP.Note{True{}, "imports: git could not list the .bend files it tracks here"}]

Uses (10)

Used by (1)