def loose.under

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

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

65# an exception under `.ez/lib/` names the hash after the prefix
66def loose.under(under: Bool, +rest: String) -> Rule:
67  match under:
68    case True{}:
69      Bool.pick(Rule, String.is_empty(rest), Other{}, Allow{rest})
70    case False{}:
71      Other{}

Uses (5)

Used by (1)