Commit 91aa01ff by Marten Ringwelski

Deprecate get_dir_of_file

parent a6f2d22f
......@@ -166,6 +166,9 @@ def get_dir_of_file(file_path: Union[str, Path]) -> str:
Returns absolute path of the directory including file
:param file_path: Path of the file
.. deprecated::
You should use pathlib instead of this function.
'''
try:
return str(Path(file_path).resolve().parent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment