def loose.pos

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

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

78# an exclusion: the whole of `.ez`, what is inside it, or what is inside
79# its library directory
80def loose.pos(+pat: String) -> Rule:
81  Bool.pick(Rule, String.eq(pat, ".ez"), Dir{},
82    Bool.pick(Rule, String.eq(pat, ".ez/*"), Star{},
83      Bool.pick(Rule, String.eq(pat, ".ez/lib/*"), Pkgs{}, Other{})))

Uses (4)

Used by (1)