def gone.put
import ezx@1.11.0.0/src/remove/plan.bend as Planimport Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M
104# a dependency's committed tree, when it is the one removed and is vendored
105def gone.put(hit: Bool, +hash: String, +left: List<&2, M.Dep>, rest: List<&2, String>) -> List<&2, String>:
106 match hit:
107 case True{}:
108 gone.hash(Bool.or(holds(left, hash), Bool.not(safe(hash))), hash, rest)
109 case False{}:
110 rest