def once.seen
import ezx@1.11.0.0/src/ledger/ignore.bend as Ignoreimport 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