Plan.plan.go: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/init/plan.bend as Plan Lines 248-265 of ezx@1.11.0.0/src/init/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/init/plan.bend&start_line=248&end_line=265 import Base import ezx@1.11.0.0/src/lock/plan.bend as P # the plan, once the name and entry are settled. A ledger on disk holds # dependencies, tools and a `bin` that a fresh one would lose, so `ez init` # writes over none of it, whatever the file holds, and refuses. def plan.go( led: Maybe<&2, String>, +name: String, +at: String, +desc: String, ignore: Maybe<&2, String>, main: Maybe<&2, String>, lib: Maybe<&2, String> ) -> P.Plan: match led: case Some{_s}: P.Plan{[], P.Refused{"ez: " ++ toml() ++ " already exists; ez init writes a new project and leaves it alone"}} case None{}: plan.new(fits(name, at, desc), name, at, desc, ignore, main, lib) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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/init/plan.bend&name=fits https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/init/plan.bend&name=plan.new https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/init/plan.bend&name=toml https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/plan.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/plan.bend&name=Plan