Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/culvertsoft/mgen
/ file2String
Function
file2String
buildutil.py:25–29 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
23
os.makedirs(path)
24
25
def
file2String(path):
26
if
os.path.exists(path):
27
return
open(path,
'r'
).read()
28
else
:
29
return
""
30
31
def
rmFolder(path):
32
if
os.path.exists(path):
Callers
1
createJavaVersionFile3
Function · 0.85
Calls
1
read
Method · 0.45
Tested by
no test coverage detected