|
Entropic 2.3.8
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 126 of file ignore_matcher.h.
| std::string entropic::IgnoreMatcher::Rule::base |
Anchor base, "" means root.
Definition at line 132 of file ignore_matcher.h.
| bool entropic::IgnoreMatcher::Rule::dir_only = false |
Trailing / (directory match)
Definition at line 130 of file ignore_matcher.h.
| bool entropic::IgnoreMatcher::Rule::negate = false |
Leading !
Definition at line 129 of file ignore_matcher.h.
| std::string entropic::IgnoreMatcher::Rule::original |
Raw pattern for diagnostics.
Definition at line 131 of file ignore_matcher.h.
| std::regex entropic::IgnoreMatcher::Rule::re_exact |
Path equals pattern target.
Definition at line 127 of file ignore_matcher.h.
| std::regex entropic::IgnoreMatcher::Rule::re_under |
Path is strictly below target.
Definition at line 128 of file ignore_matcher.h.