MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / _CountingSink

Class _CountingSink

pkg/pypi/tests/test_cli.py:884–890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

882
883
884class _CountingSink:
885 def __init__(self):
886 self.written = 0
887
888 def write(self, chunk):
889 self.written += len(chunk)
890 return len(chunk)
891
892
893# The size cap the 0.12.0 wrappers enforced, which refused every release.

Calls

no outgoing calls