def kind.go
import ezx@1.11.0.0/src/ledger/ignore.bend as Ignoreimport 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)