def member.moved

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

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/ledger/manifest.bend as M
import ezx@1.11.0.0/src/pkg/pkg.bend as K
import ezx@1.11.0.0/src/ws/joint.bend as J
import ezx@1.11.0.0/src/ws/moved.bend as Mv

187# one member against the lock: its package walked from its entry over the
188# committed files, reported when the lock records another hash at its
189# directory
190def member.moved(mb: J.Member, +files: List<&2, K.Source>, +locked: List<&2, Mv.Held>) -> List<&2, DP.Note>:
191  J.Member{+dir, mm} = mb
192  M.Manifest{_n, ee, _b, _h, _pa, _pv, _ds, _ts} = mm
193  moved.walked(K.of(J.entry.at(dir, ee), files), locked)

Uses (9)

Used by (1)