more accurate doc string

This commit is contained in:
Alek Petuskey 2024-07-31 14:38:04 -07:00
parent 043f6dce59
commit 46c6b80e4c

View File

@ -85,13 +85,13 @@ def get_memory() -> int:
def get_folder_size(folder: str) -> int:
"""Get the total size of a folder in bytes, ignoring 'node_modules' folder.
"""Get the total number of files in a folder.
Args:
folder: The path to the folder.
Returns:
The total size of the folder in bytes.
The total number of files in the folder.
"""
total_files = 0
for _, _, filenames in os.walk(folder):