def tree.said

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

import ezx@1.11.0.0/src/fetch/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/up.bend as Up

101# a checkout at the pinned rev, whose paths are the lock's from `root`
102def tree.said(answer: Up.Answer, +root: String) -> Tree:
103  match answer:
104    case Up.Cloned{_nar, fs}:
105      Tree{root, fs}
106    case Up.Miss{why}:
107      Gone{why}
108    case _:
109      Gone{"ez: a checkout was not answered with one"}

Uses (3)

Used by (1)