From 2c6bec253c4ddf88fa567816963cb8e16be2ff73 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 17 Sep 2024 23:07:41 +0200 Subject: [PATCH] doc/empty_file --- 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 7595335..21ead50 100644 --- a/rwx/fs/__init__.py +++ b/rwx/fs/__init__.py @@ -19,7 +19,11 @@ def create_image(file_path: str, size_bytes: int) -> None: def empty_file(path: Path) -> None: - """Empty the file at provided path.""" + """Empty the file at provided path. + + :param path: target file to empty + :type path: Path + """ write(path, "")