def kind.go

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

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

106# a line written the way `allow` writes one names the hash after the prefix
107def kind.go(exact: Bool, +line: String) -> Rule:
108  match exact:
109    case True{}:
110      canon(String.is_empty(String.drop(line, 9n)), String.drop(line, 9n))
111    case False{}:
112      loose(line)

Uses (7)

Used by (1)