MCPcopy Create free account
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / mkdir

Function mkdir

pix2pix/util/util.py:98–105  ·  view source on GitHub ↗

create a single empty directory if it didn't exist Parameters: path (str) -- a single directory path

(path)

Source from the content-addressed store, hash-verified

96
97
98def mkdir(path):
99 """create a single empty directory if it didn't exist
100
101 Parameters:
102 path (str) -- a single directory path
103 """
104 if not os.path.exists(path):
105 os.makedirs(path)

Callers 1

mkdirsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected