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

Function _parse_ignore_lines

python/vibe-coding-ide/backend/src/agent/utils.py:126–135  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

124
125
126def _parse_ignore_lines(text: str) -> list[str]:
127 lines: list[str] = []
128 if not text:
129 return lines
130 for raw in text.splitlines():
131 s = raw.strip()
132 if not s or s.startswith("#"):
133 continue
134 lines.append(s)
135 return lines
136
137
138def make_ignore_predicate(project: dict[str, str]) -> "callable[[str], bool]":

Callers 1

make_ignore_predicateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected