Ignore.same: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ledger/ignore.bend as Ignore Lines 246-258 of ezx@1.11.0.0/src/ledger/ignore.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ledger/ignore.bend&start_line=246&end_line=258 import Base # whether two kinds are the same rule. Two allowlist lines are never asked. def same(left: Rule, right: Rule) -> Bool: match left right: case Dir{} Dir{}: True{} case Star{} Star{}: True{} case Lib{} Lib{}: True{} case Pkgs{} Pkgs{}: True{} case _ _: False{} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/ignore.bend&name=Rule