Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/modelscope/modelscope
/ read_file
Function
read_file
modelscope/utils/file_utils.py:111–115 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
109
110
111
def
read_file(path):
112
113
with
open(path,
'r'
)
as
f:
114
text = f.read()
115
return
text
116
117
118
def
copytree_py37(src,
Callers
2
load_tinynas_net
Function · 0.90
load_tinynas_net
Function · 0.90
Calls
1
read
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…