def name.of

ezx@1.11.0.0 · src/tool/plan.bend:690

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import 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))

Uses (8)

Used by (1)