MCPcopy Create free account
hub / github.com/culvertsoft/mgen / rmFile

Function rmFile

buildutil.py:49–51  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

47 rmFolder(file_path)
48
49def rmFile(path):
50 if os.path.exists(path):
51 os.remove(path)
52
53def copyTree(src, dst):
54 distutils.dir_util.copy_tree(src, dst)

Callers 2

rmFolderContentsFunction · 0.85
rmFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected