MCPcopy Index your code
hub / github.com/VHellendoorn/Code-LMs / read

Function read

Data/yield_from_code_files.py:16–19  ·  view source on GitHub ↗
(fname)

Source from the content-addressed store, hash-verified

14 random.shuffle(fnames)
15
16 def read(fname):
17 with open(fname) as inp:
18 doc = inp.read()
19 return doc
20
21 def yielder(fname, semaphore):
22 f = read(fname)

Callers 1

yielderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected