Skip to content

Commit

Permalink
Address final minor review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
GeigerJ2 committed Dec 9, 2024
1 parent 9d5aece commit ecfa53b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aiida/orm/nodes/data/remote/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def _get_size_on_disk_du(self, full_path: Path, transport: Transport) -> int:
:param transport: Open transport instance.
:raises NotImplementedError: When ``exec_command_wait`` is not implemented, e.g., for the FirecREST plugin.
:raises RuntimeError: When ``du`` command cannot be successfully executed.
:return: Total size of directory recursively in bytes.
:return: Total size of directory in bytes (including all its contents).
"""

try:
Expand All @@ -278,7 +278,7 @@ def _get_size_on_disk_lstat(self, full_path: Path, transport: Transport) -> int:
:param full_path: Full path of which the size should be evaluated.
:param transport: Open transport instance.
:raises OSError: When directory given by ``full_path`` not existing or not a directory.
:return: Total size of directory recursively in bytes.
:return: Total size of directory in bytes (including all its contents).
"""
try:
total_size = 0
Expand Down

0 comments on commit ecfa53b

Please sign in to comment.