def canon

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

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

98# `!.ez/lib/` with nothing after it is the directory, with a trailing slash
99def canon(empty: Bool, +rest: String) -> Rule:
100  match empty:
101    case True{}:
102      Lib{}
103    case False{}:
104      Allow{rest}

Uses (3)

Used by (1)