def member.walked

ezx@1.11.0.0 · src/fetch/plan.bend:300

import ezx@1.11.0.0/src/fetch/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K

300# a member's package walked from its entry over the committed files
301def member.walked(got: K.Walked, fs: List<&2, K.Item>, +path: String, +hash: String) -> Part:
302  match got:
303    case K.Walked{+now, _root, wfs, _sums}:
304      member.same(String.eq(now, hash), now, wfs, fs, path, hash)
305    case K.Asks{at}:
306      No{"ez: workspace member " ++ path ++ " imports " ++ at ++ ", which git does not track"}
307    case K.Refused{why}:
308      No{why}

Uses (8)

Used by (1)