def once.put

ezx@1.11.0.0 · src/ledger/ignore.bend:201

import ezx@1.11.0.0/src/ledger/ignore.bend as Ignore
import Base

201# a hash in front of the rest, unless it is passed over
202def once.put(skip: Bool, +hash: String, rest: List<&2, String>) -> List<&2, String>:
203  match skip:
204    case True{}:
205      rest
206    case False{}:
207      hash <> rest

Uses (3)

Used by (1)