doc/empty_file

This commit is contained in:
Marc Beninca 2024-09-17 23:07:41 +02:00
parent eb0f862125
commit 2c6bec253c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -19,7 +19,11 @@ def create_image(file_path: str, size_bytes: int) -> None:
def empty_file(path: Path) -> 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, "") write(path, "")