def others.put

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

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

151# a line that is not ez's, in front of the rest
152def others.put(what: Rule, +line: String, rest: List<&2, String>) -> List<&2, String>:
153  match what:
154    case Other{}:
155      line <> rest
156    case Allow{_h}:
157      rest
158    case Dir{}:
159      rest
160    case Star{}:
161      rest
162    case Lib{}:
163      rest
164    case Pkgs{}:
165      rest

Uses (3)

Used by (1)