def answer.above

ezx@1.11.0.0 · src/lock/run.bend:332

import ezx@1.11.0.0/src/lock/run.bend as Run
import Base
import ezx@1.11.0.0/src/git/exec.bend as GX
import ezx@1.11.0.0/src/lock/up.bend as Up

332# whether `tip` descends from `pin`, asked of a blobless bare clone
333def answer.above(+lib: String, +url: String, +pin: String, +tip: String) -> IO(Up.Answer):
334  do IO<Up.Answer>:
335    yes : Bool <- GX.descendant.at(lib ++ "/.work-above", url, pin, tip)
336    return Up.Onward{yes}

Uses (8)

Used by (1)