def accept.src

ezx@1.11.0.0 · src/lock/world.bend:331

import ezx@1.11.0.0/src/lock/world.bend as World
import Base
import ezx@1.11.0.0/src/lock/lock.bend as L

331# a package's answer against where the ledger says it comes from
332def accept.src(src: L.Src, how: How, +hash: String, +manifest: String, +ss: List<&2, String>) -> Verdict:
333  match src:
334    case L.Hub{}:
335      hub.how(how, hash, manifest, ss)
336    case L.Git{url, rev, _entry, _root, nar, _tag}:
337      git.how(how, hash, url, rev, nar, manifest, ss)
338    case L.Member{_path, _entry}:
339      member.how(how, hash, manifest, ss)

Uses (8)

Used by (1)