MCPcopy
hub / github.com/usestrix/strix / _append_unique

Function _append_unique

strix/interface/utils.py:731–734  ·  view source on GitHub ↗
(container: list[str], seen: set[str], path: str)

Source from the content-addressed store, hash-verified

729
730
731def _append_unique(container: list[str], seen: set[str], path: str) -> None:
732 if path and path not in seen:
733 seen.add(path)
734 container.append(path)
735
736
737def _classify_diff_entries(entries: list[DiffEntry]) -> dict[str, Any]:

Callers 1

_classify_diff_entriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected