MCPcopy Index your code
hub / github.com/ekalinin/nodeenv / mkdir

Function mkdir

nodeenv.py:409–418  ·  view source on GitHub ↗

Create directory

(path)

Source from the content-addressed store, hash-verified

407
408
409def mkdir(path):
410 """
411 Create directory
412 """
413 if not os.path.exists(path):
414 logger.debug(' * Creating: %s ... ', path, extra=dict(continued=True))
415 os.makedirs(path)
416 logger.debug('done.')
417 else:
418 logger.debug(' * Directory %s already exists', path)
419
420
421def make_executable(filename):

Callers 4

copy_node_from_prebuiltFunction · 0.85
build_node_from_srcFunction · 0.85
install_activateFunction · 0.85
create_environmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected