MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / glob_match_bounded

Function glob_match_bounded

src/discover/gitignore.c:196–199  ·  view source on GitHub ↗

Match one pattern against one path with a fresh backtracking budget. Not * recursive itself — it seeds the budget and hands off to the engine. */

Source from the content-addressed store, hash-verified

194/* Match one pattern against one path with a fresh backtracking budget. Not
195 * recursive itself — it seeds the budget and hands off to the engine. */
196static bool glob_match_bounded(const char *pat, const char *str) {
197 int budget = GI_MATCH_MAX_STEPS;
198 return glob_match(pat, str, &budget);
199}
200
201/* ── Pattern parsing ─────────────────────────────────────────────── */
202

Callers 2

match_unrootedFunction · 0.85

Calls 1

glob_matchFunction · 0.85

Tested by

no test coverage detected