def from

ezx@1.11.0.0 · src/ez/named.bend:92

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

92# whether a source is this git url
93def from(src: M.Source, +url: String) -> Bool:
94  match src:
95    case M.Hub{_named}:
96      False{}
97    case M.Git{u, _rev, _tag, _root, _nar, _vend}:
98      String.eq(u, url)
99    case M.Member{_path, _named}:
100      False{}

Uses (4)

Used by (2)