MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / print_list

Function print_list

scripts/compare_backend_snapshots.py:236–241  ·  view source on GitHub ↗
(label: str, items: List[Any], max_items: int)

Source from the content-addressed store, hash-verified

234
235
236def print_list(label: str, items: List[Any], max_items: int) -> None:
237 print(f"{label}: {len(items)}")
238 for item in items[:max_items]:
239 print(f" - {item}")
240 if len(items) > max_items:
241 print(f" ... ({len(items) - max_items} more)")
242
243
244def main() -> None:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected