From 6fab5ce9b401eeffa123a7ba10aee71eba94a16c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 17 Sep 2024 23:19:29 +0200 Subject: [PATCH] doc/make_directory --- rwx/fs/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rwx/fs/__init__.py b/rwx/fs/__init__.py index b320ed2..374a658 100644 --- a/rwx/fs/__init__.py +++ b/rwx/fs/__init__.py @@ -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)