def plain.name
import ezx@1.11.0.0/src/tool/plan.bend as Planimport Base
597# the link's name for a plain repository: the stem of the file built, or the
598# repository's name when that is `main`, since every plain repository has one
599def plain.name(+file: String, +url: String) -> String:
600 Bool.pick(String, String.eq(stem(file), "main"), repo.name(url), stem(file))