def part.member

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

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

326# a workspace member's package (EZ-WS-8): laid from the committed files only
327# when its walk from its entry hashes to the hash the lock records for it
328def part.member(got: F.Heard, fs: List<&2, K.Item>, +path: String, +entry: String, +hash: String) -> Part:
329  match got:
330    case F.Open{}:
331      AskFetch{}
332    case F.Heard{answer}:
333      member.answer(answer, fs, path, entry, hash)

Uses (6)

Used by (1)