MCPcopy Create free account
hub / github.com/cztomczak/cefpython / delete_directory

Function delete_directory

tools/automate-git.py:210–215  ·  view source on GitHub ↗

Removes an existing directory.

(path)

Source from the content-addressed store, hash-verified

208
209
210def delete_directory(path):
211 """ Removes an existing directory. """
212 if os.path.exists(path):
213 msg("Removing directory %s" % (path))
214 if not options.dryrun:
215 shutil.rmtree(path, onerror=onerror)
216
217
218def copy_directory(source, target, allow_overwrite=False):

Callers 1

automate-git.pyFile · 0.85

Calls 1

msgFunction · 0.85

Tested by

no test coverage detected