|
Entropic 2.14.3
Local-first agentic inference engine
|
One compiled gitignore rule (public so internal helpers in the .cpp can construct Rules without friend declarations). More...
#include <entropic/mcp/servers/ignore_matcher.h>
Public Attributes | |
| std::regex | re_exact |
| Path equals pattern target. | |
| std::regex | re_under |
| Path is strictly below target. | |
| bool | negate = false |
Leading ! | |
| bool | dir_only = false |
Trailing / (directory match) | |
| std::string | original |
| Raw pattern for diagnostics. | |
| std::string | base |
| Anchor base, "" means root. | |
One compiled gitignore rule (public so internal helpers in the .cpp can construct Rules without friend declarations).
Two regexes per rule disambiguate the dir_only semantic:
For dir_only patterns (build/), re_exact only counts when the path is itself a directory; re_under always counts (descendants). For regular patterns (*.log, foo), either regex counts.
Definition at line 190 of file ignore_matcher.h.
| std::string entropic::IgnoreMatcher::Rule::base |
Anchor base, "" means root.
Definition at line 196 of file ignore_matcher.h.
Trailing / (directory match)
Definition at line 194 of file ignore_matcher.h.
Leading !
Definition at line 193 of file ignore_matcher.h.
| std::string entropic::IgnoreMatcher::Rule::original |
Raw pattern for diagnostics.
Definition at line 195 of file ignore_matcher.h.
| std::regex entropic::IgnoreMatcher::Rule::re_exact |
Path equals pattern target.
Definition at line 191 of file ignore_matcher.h.
| std::regex entropic::IgnoreMatcher::Rule::re_under |
Path is strictly below target.
Definition at line 192 of file ignore_matcher.h.