def hub.or

ezx@1.11.0.0 · src/ledger/manifest.bend:430

import ezx@1.11.0.0/src/ledger/manifest.bend as Manifest
import Base

430# the hub a ledger's packages come from: the `hub` its `[package]` table
431# names, or bend's own when it names none. It is read from the committed
432# ledger and not from the environment, so two checkouts of one commit lock
433# against the same hub whatever their shells say.
434def hub.or(+url: String) -> String:
435  Bool.pick(String, String.is_empty(url), "https://hub.bend-lang.com", url)

Uses (3)

Used by (2)