def why
ezx@1.11.0.0 · src/ez/named.bend:149
import ezx@1.11.0.0/src/ez/named.bend as Named
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M
149
150def why(ds: List<&2, M.Dep>, +name: String, +url: String) -> String:
151 Bool.pick(String, String.is_empty(name),
152 "ez: " ++ url ++ " has no name to record it under",
153 Bool.pick(String, clash(ds, name, url),
154 "ez: ez.toml already has a deps." ++ name ++ " from another source; " ++
155 "remove it first, or add this one with --rename",
156 ""))