def vendors.put
import ezx@1.11.0.0/src/ledger/ignore.bend as Ignoreimport Base
175# a dependency's hash, in front of the rest, when its tree is committed
176def vendors.put(vend: Bool, +hash: String, rest: List<&2, String>) -> List<&2, String>:
177 match vend:
178 case True{}:
179 hash <> rest
180 case False{}:
181 rest