def hashes.put

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

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

126# the hash an allowlist line names, in front of the rest
127def hashes.put(what: Rule, rest: List<&2, String>) -> List<&2, String>:
128  match what:
129    case Allow{h}:
130      h <> rest
131    case Other{}:
132      rest
133    case Dir{}:
134      rest
135    case Star{}:
136      rest
137    case Lib{}:
138      rest
139    case Pkgs{}:
140      rest

Uses (3)

Used by (1)