Stack of directory-scoped gitignore matchers.
A stack models nested .gitignore files where deeper files have stronger
priority than shallower files.
Summary
Types
@type t() :: %Gitignore.Stack{casefold?: boolean(), matchers: [Gitignore.Matcher.t()]}
Functions
@spec check(t(), binary(), keyword()) :: {:ignored | :unignored, Gitignore.Rule.t()} | :not_ignored
@spec push(t(), binary(), [Gitignore.Rule.t()] | Gitignore.Matcher.t()) :: t()