MCPcopy 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
111def read_file(path):
112
113 with open(path, 'r') as f:
114 text = f.read()
115 return text
116
117
118def copytree_py37(src,

Callers 2

load_tinynas_netFunction · 0.90
load_tinynas_netFunction · 0.90

Calls 1

readMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…