Skip to content
Snippets Groups Projects
Commit 5c6183a8 authored by Tristan Van Berkom's avatar Tristan Van Berkom Committed by Tristan Van Berkom
Browse files

utils.py: Document _get_dir_size() expectations.

This function assumes that files do not disappear while
walking the given directory.
parent f66604ec
No related branches found
No related tags found
No related merge requests found
Pipeline #31892193 canceled
......@@ -563,6 +563,9 @@ def save_file_atomic(filename, mode='w', *, buffering=-1, encoding=None,
#
# Get the disk usage of a given directory in bytes.
#
# This function assumes that files do not inadvertantly
# disappear while this function is running.
#
# Arguments:
# (str) The path whose size to check.
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment