Skip to content

Commit a49dac3

Browse files
committed
Remove create_directory() for issue #43
1 parent 4e99762 commit a49dac3

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/imcflibs/pathtools.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -357,18 +357,6 @@ def folder_size(source):
357357
return total_size
358358

359359

360-
def create_directory(new_path):
361-
"""Create a new directory if it does not already exist.
362-
363-
Parameters
364-
----------
365-
new_path : str
366-
Path to the new directory.
367-
"""
368-
if not os.path.exists(new_path):
369-
os.makedirs(new_path)
370-
371-
372360
# pylint: disable-msg=C0103
373361
# we use the variable name 'exists' in its common spelling (lowercase), so
374362
# removing this workaround will be straightforward at a later point

0 commit comments

Comments
 (0)