def decide.slug
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
991# a slug that could leave the cache is refused (EZ-TOOL-8)
992def decide.slug(ok: Bool, +url: String, +world: TW.World) -> Verdict:
993 match ok:
994 case True{}:
995 decide.head(src(world), url, world)
996 case False{}:
997 Stop{"ez: not a repository"}