doc/make_directory
This commit is contained in:
parent
0d77038392
commit
6fab5ce9b4
1 changed files with 5 additions and 1 deletions
|
@ -58,7 +58,11 @@ def get_path_uuid(path: str) -> str:
|
||||||
|
|
||||||
|
|
||||||
def make_directory(path: Path) -> None:
|
def make_directory(path: Path) -> None:
|
||||||
"""Make a directory (and its parents) from a path."""
|
"""Make a directory (and its parents) from a path.
|
||||||
|
|
||||||
|
:param path: directory to create
|
||||||
|
:type path: Path
|
||||||
|
"""
|
||||||
path.mkdir(exist_ok=True, parents=True)
|
path.mkdir(exist_ok=True, parents=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue