Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
16
def
read_file(filename):
17
with
open(filename, encoding=
"utf-8"
)
as
file:
18
return
file.read()
19
20
def
check_file(filename):
21
if
filename in EXCEPTIONS:
Callers
1
check_file
Function · 0.85
Calls
1
read
Method · 0.45
Tested by
no test coverage detected