MCPcopy
hub / github.com/pyinstaller/pyinstaller / mkdir

Method mkdir

bootloader/waflib/Node.py:206–223  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

204 return lst
205
206 def mkdir(self):
207 if self.isdir():
208 return
209 try:
210 self.parent.mkdir()
211 except OSError:
212 pass
213 if self.name:
214 try:
215 os.makedirs(self.abspath())
216 except OSError:
217 pass
218 if not self.isdir():
219 raise Errors.WafError('Could not create the directory %r' % self)
220 try:
221 self.children
222 except AttributeError:
223 self.children = self.dict_class()
224
225 def find_node(self, lst):
226 if isinstance(lst, str):

Callers 15

_gen_pseudo_rthooksFunction · 0.80
test_packageFunction · 0.80
_write_moduleFunction · 0.80
test_nspackage_pep420Function · 0.80
test_symlinksFunction · 0.80
test_import_order_1Function · 0.80
test_import_order_2Function · 0.80

Calls 2

isdirMethod · 0.95
abspathMethod · 0.95

Tested by 15

_gen_pseudo_rthooksFunction · 0.64
test_packageFunction · 0.64
_write_moduleFunction · 0.64
test_nspackage_pep420Function · 0.64
test_symlinksFunction · 0.64
test_import_order_1Function · 0.64
test_import_order_2Function · 0.64