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

Method read

pkg/pypi/tests/test_cli.py:876–881  ·  view source on GitHub ↗
(self, size=-1)

Source from the content-addressed store, hash-verified

874 self._remaining = size
875
876 def read(self, size=-1):
877 if size is None or size < 0:
878 size = self._remaining
879 count = min(size, self._remaining)
880 self._remaining -= count
881 return bytes(count)
882
883
884class _CountingSink:

Callers 15

_download_fileFunction · 0.45
_file_sha256Function · 0.45
_copy_archive_memberFunction · 0.45
_verify_checksumFunction · 0.45
cif_read_controlFunction · 0.45
license_textFunction · 0.45
cmd_ratchetFunction · 0.45
mcp_commandFunction · 0.45
drainFunction · 0.45

Calls 1

bytesFunction · 0.85

Tested by

no test coverage detected