def git.how
ezx@1.11.0.0 · src/lock/world.bend:290
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
290
291def git.how(
292 how: How,
293 +hash: String,
294 +url: String,
295 +rev: String,
296 +nar: String,
297 +manifest: String,
298 +ss: List<&2, String>
299) -> Verdict:
300 match how:
301 case Lib{}:
302 git.weighed(L.nar.why(nar, nar, url, rev), hash, manifest, ss)
303 case Clone{got}:
304 git.weighed(L.nar.why(nar, got, url, rev), hash, manifest, ss)
305 case Served{}:
306 No{"ez: " ++ hash ++ " is a git package and was not read from git"}