doc/make_directory

This commit is contained in:
Marc Beninca 2024-09-17 23:19:29 +02:00
parent 0d77038392
commit 6fab5ce9b4
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -58,7 +58,11 @@ def get_path_uuid(path: str) -> str:
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)