def once.seen

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

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

209# the hashes seen so far, with this one when it was kept
210def once.seen(skip: Bool, +hash: String, +seen: List<&2, String>) -> List<&2, String>:
211  match skip:
212    case True{}:
213      seen
214    case False{}:
215      hash <> seen

Uses (3)

Used by (1)