MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / mkdir_p

Function mkdir_p

tensorflow/tools/dockerfiles/assembler.py:438–444  ·  view source on GitHub ↗

Create a directory and its parents, even if it already exists.

(path)

Source from the content-addressed store, hash-verified

436
437
438def mkdir_p(path):
439 """Create a directory and its parents, even if it already exists."""
440 try:
441 os.makedirs(path)
442 except OSError as e:
443 if e.errno != errno.EEXIST:
444 raise
445
446
447def gather_existing_partials(partial_path):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected