MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / _add

Function _add

codewiki/mcp/tools/analysis.py:154–159  ·  view source on GitHub ↗
(raw: Optional[str])

Source from the content-addressed store, hash-verified

152 seen: set[str] = set()
153
154 def _add(raw: Optional[str]) -> None:
155 if raw:
156 p = _normalize(raw)
157 if p and p not in seen:
158 changed.append(p)
159 seen.add(p)
160
161 # 1) Committed changes since last generation
162 if prev_commit != current_commit:

Callers 1

_detect_via_gitFunction · 0.85

Calls 2

_normalizeFunction · 0.85
addMethod · 0.80

Tested by

no test coverage detected