Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/521xueweihan/HelloGitHub
/ check_path
Function
check_path
script/make_content/make_content.py:33–41 ·
view source on GitHub ↗
检查路径是否存在
(path)
Source
from the content-addressed store, hash-verified
31
32
33
def
check_path(path):
34
""
"
35
检查路径是否存在
36
""
"
37
if
not os.path.exists(path):
38
print(
'not exist: {path}'
.format(path=path))
39
return
False
40
else
:
41
return
True
42
43
44
def
read_file(input_path):
Callers
1
make_content
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected