Plan.unfit: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/fetch/plan.bend as Plan Lines 224-235 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=224&end_line=235 import Base import ezx@1.11.0.0/src/lock/world.bend as W import ezx@1.11.0.0/src/pkg/pkg.bend as K # the first path that does not fit, "" when every file does def unfit(fs: List<&2, K.Item>, ls: List<&2, W.Source>) -> String: match fs ls: case Nil{} Nil{}: "" case Nil{} Con{l, _m}: W.Source{at, _text} = l at case Con{f, _g} Nil{}: K.file.at(f) case Con{+f, g} Con{l, m}: unfit.pick(fit(f, l), K.file.at(f), unfit(g, m)) Uses (7): 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=ezx@1.11.0.0/src/fetch/plan.bend&name=fit https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/plan.bend&name=unfit.pick https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/world.bend&name=Source https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Item https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=file.at