MCPcopy Create free account
hub / github.com/PostHog/duckgres / strip_diff_marker

Function strip_diff_marker

scripts/test_impact_plan.py:232–233  ·  view source on GitHub ↗
(line: str)

Source from the content-addressed store, hash-verified

230
231
232def strip_diff_marker(line: str) -> str:
233 return line[1:] if line[:1] in {"+", "-"} else line
234
235
236def analyze_patch_line(plan: TestImpactPlan, path: str, line: str) -> None:

Callers 1

analyze_patch_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected