Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/1Panel-dev/MaxKB
/ get_file_content
Function
get_file_content
apps/common/utils/common.py:186–189 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
184
185
186
def
get_file_content(path):
187
with
open(path,
"r"
, encoding=
'utf-8'
)
as
file:
188
content = file.read()
189
return
content
190
191
192
def
sub_array(array: List, item_num=10):
Callers
15
get_tools
Method · 0.90
page_tool_with_folders
Method · 0.90
get_tools
Method · 0.90
Migration
Class · 0.90
page
Method · 0.90
page
Method · 0.90
is_valid
Method · 0.90
list
Method · 0.90
page
Method · 0.90
list
Method · 0.90
page
Method · 0.90
get_customer_count_trend
Method · 0.90
Calls
2
read
Method · 0.80
open
Function · 0.50
Tested by
no test coverage detected