def name.of
import ezx@1.11.0.0/src/tool/plan.bend as Planimport Base
import ezx@1.11.0.0/src/tool/world.bend as TW
690# the name the link and the binary are given: for a plain repository the
691# one `plain.name` gives it, and the package's for an ez project
692def name.of(bare: Bool, +world: TW.World) -> String:
693 match bare:
694 case True{}:
695 plain.name(choice(world), origin(world))
696 case False{}:
697 man.name(man(world))