def descendant.go

ezx@1.11.0.0 · src/git/exec.bend:143

import ezx@1.11.0.0/src/git/exec.bend as Exec
import Base

143# whether `tip` descends from `pin`, the same commit included
144def descendant.go(same: Bool, work: String, url: String, pin: String, tip: String) -> IO(Bool):
145  match same:
146    case True{}:
147      IO.pure(Bool, True{})
148    case False{}:
149      descendant.clone(work, url, pin, tip)

Uses (5)

Used by (1)