MCPcopy Create free account
hub / github.com/vercel/examples / is_ignored

Function is_ignored

python/vibe-coding-ide/backend/src/agent/utils.py:233–241  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

231 predicates = [to_predicate(p) for p in patterns]
232
233 def is_ignored(path: str) -> bool:
234 for fn in predicates:
235 try:
236 if fn(path):
237 return True
238 except Exception:
239 # Be conservative: ignore errors and treat as not matching
240 continue
241 return False
242
243 return is_ignored

Callers 5

snapshot_file_changesFunction · 0.85
sync_existing_sandboxFunction · 0.85
run_agent_flowFunction · 0.85
resume_agent_flowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected