MCPcopy Create free account
hub / github.com/ddnet/ddnet / read_files

Function read_files

scripts/export_settings_commands_table.py:195–198  ·  view source on GitHub ↗
(pattern)

Source from the content-addressed store, hash-verified

193
194
195def read_files(pattern):
196 for file in glob(pattern, recursive=True):
197 with open(file, "r", encoding="utf-8", errors="ignore") as f:
198 yield from f
199
200
201def export_settings_commands_table():

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected