MCPcopy Create free account
hub / github.com/apache/arrow / create_dir

Method create_dir

python/pyarrow/fs.py:355–360  ·  view source on GitHub ↗
(self, path, recursive)

Source from the content-addressed store, hash-verified

353 return infos
354
355 def create_dir(self, path, recursive):
356 # mkdir also raises FileNotFoundError when base directory is not found
357 try:
358 self.fs.mkdir(path, create_parents=recursive)
359 except FileExistsError:
360 pass
361
362 def delete_dir(self, path):
363 self.fs.rm(path, recursive=True)

Callers 6

mkpathMethod · 0.45
test_create_dirMethod · 0.45
save_to_uriMethod · 0.45

Calls

no outgoing calls

Tested by 5

mkpathMethod · 0.36
test_create_dirMethod · 0.36