MCPcopy 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
25def file2String(path):
26 if os.path.exists(path):
27 return open(path, 'r').read()
28 else:
29 return ""
30
31def rmFolder(path):
32 if os.path.exists(path):

Callers 1

createJavaVersionFile3Function · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected