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

Function read_file

scripts/check_header_guards.py:16–18  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

14]
15
16def read_file(filename):
17 with open(filename, encoding="utf-8") as file:
18 return file.read()
19
20def check_file(filename):
21 if filename in EXCEPTIONS:

Callers 1

check_fileFunction · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected