Skip to content

Commit a076497

Browse files
committed
Shorten function name
1 parent b854609 commit a076497

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
`os.path.join` except that it will work with `java.io.File` objects as well
1212
(but doesn't support more than two path components / parameters).
1313
* `imcflibs.pathtools.find_dirs_containing_filetype`
14+
* `imcflibs.pathtools.folder_size`
1415
* New functions in `imcflibs.imagej.misc`:
1516
* `imcflibs.imagej.misc.calculate_mean_and_stdv`
1617
* `imcflibs.imagej.misc.elapsed_time_since`

β€Žsrc/imcflibs/pathtools.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def find_dirs_containing_filetype(source, filetype):
300300
return dirs_containing_filetype
301301

302302

303-
def get_folder_size(source):
303+
def folder_size(source):
304304
"""Get the total size of a given directory and its subdirectories.
305305
306306
Parameters

0 commit comments

Comments
Β (0)