def url_port

near-v-framework@0.4.0.0 · domain/architecture/system/deployment/nix_darwin/effects.bend:173

import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/effects.bend as Effects
import Base

173# The port of a "host:port" key or a proxy URL.
174def url_port(+w: String) -> String:
175  Maybe.default(&2, String, List.head(&2, String, String.split(last_of(w, ':'), '/')), "")

Uses (6)

Used by (2)