Plan.judge: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/fetch/plan.bend as Plan Lines 684-696 of ezx@1.11.0.0/src/fetch/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/fetch/plan.bend&start_line=684&end_line=696 import Base import ezx@1.11.0.0/src/pkg/pkg.bend as K # what one package comes to, where it stands def judge(+fs: List<&2, K.Item>, +hash: String, part: Part) -> Verdict: match part: case AskLaid{}: Stop{"ez: " ++ hash ++ " was never looked for under BEND_LIB"} case AskFetch{}: Stop{"ez: " ++ hash ++ " was never fetched"} case Have{}: Keep{} case Got{+ls}: judge.got(good(fs, hash, ls), fs, hash, ls) case No{why}: Stop{why} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/plan.bend&name=Part https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/plan.bend&name=Verdict https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/plan.bend&name=good https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/plan.bend&name=judge.got https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Item