more accurate doc string
This commit is contained in:
parent
043f6dce59
commit
46c6b80e4c
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user