MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / stream_generator

Method stream_generator

core/storage.py:922–928  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

920 )
921
922 async def stream_generator():
923 chunk_size = 65536
924 while True:
925 chunk = await reader.read(chunk_size)
926 if not chunk:
927 break
928 yield chunk
929
930 encoded_filename = quote(filename, safe='')
931 headers = {

Callers

nothing calls this directly

Calls 1

readMethod · 0.80

Tested by

no test coverage detected