Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ read_all_lines
Function
read_all_lines
scripts/check_config_variables.py:7–9 ·
view source on GitHub ↗
(filename)
Source
from the content-addressed store, hash-verified
5
6
7
def
read_all_lines(filename):
8
with
open(filename,
"r"
, encoding=
"utf-8"
)
as
file:
9
return
file.readlines()
10
11
12
def
parse_config_variables(lines):
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected