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

Function create_directory

tools/automate-git.py:202–207  ·  view source on GitHub ↗

Creates a directory if it doesn't already exist.

(path)

Source from the content-addressed store, hash-verified

200
201
202def create_directory(path):
203 """ Creates a directory if it doesn't already exist. """
204 if not os.path.exists(path):
205 msg("Creating directory %s" % (path))
206 if not options.dryrun:
207 os.makedirs(path)
208
209
210def delete_directory(path):

Callers 1

automate-git.pyFile · 0.85

Calls 1

msgFunction · 0.85

Tested by

no test coverage detected